/* common */

a img
{
	border: 0;
}

#main table
{
	border-collapse: collapse;
}

ul.standard,
.box ul
{
	margin: 1em 0 0 1.7em;
	color: #888;
}

.jslink
{
	cursor: pointer;
	color: #397C94 !important;
}

.invalid
{
	margin-top: 1px;
	background-color: #FFC5A4;
	padding: 1px 1px 1px 10px;
	border: 1px solid red;
}

.no_strong strong
{
	font-weight: normal;
}


/* administration */

table.edit
{
	width: 100%;
}

table.edit th,
table.edit td.th
{
	padding: 3px 10px 3px 3px;
	font-size: 1em;
	color: #222;
	vertical-align: top;
	text-align: right;
}

table.edit tr
{
	border: 1px solid #eee;
}

table.edit td
{
	padding: 3px;
	background: #fafafa;
}

table.edit input,
table.edit select,
table.edit button,
div.buttons button,
#filtration input,
#filtration select
{
	padding: 2px 5px;
}

table.edit input.text
{
	width: 60%;
}

table.edit select
{
	width: 40%;
}

table.edit input.checkbox,
table.edit input.radio /* fu**ing IE, it should be input[type='checkbox'] etc. */
{
	width: 14px;
}

table.edit .category
{
	float: left;
	padding: 0px 5px;
	margin-right: 5px;
	border: 1px solid #aaa;
	background: #ececec;
	cursor: pointer;
}

table.edit .category:hover
{
	background: #f9f9f9;
}

table.list
{
	margin-top: 5px;
	width: 100%;
}

table.list th
{
	text-align: left;
	padding: 3px 3px;
	color: #222;
	border-bottom: 1px dotted #d6d6d6;
}

table.list td
{
	padding: 3px 3px;
	cursor: pointer;
}

table.list tr
{
	border: 1px solid #ddd;
}

table.list tr.inactive
{
	color: #888;
}

table.list tr.inactive a
{
	color: #c5cef2;
}

table.list tr:hover td
{
	color: #000;
}

textarea.editor
{
	width: 530px !important;
}

table.mceEditor tr
{
	border-top: 1px solid #ddd !important;
	border-left: 1px solid #ddd !important;
	border-right: 1px solid #ccc !important;
	border-bottom: 1px solid #ccc !important;
}

div.buttons
{
	text-align: right;
	padding: 0.4em 1em 0 0;
}

div.buttons form
{
	float: left;
	margin-right: 0.2em;
	margin-bottom: 1em;
}

div.buttons input
{
	width: auto;
	margin: 0 3px;
	padding: 3px 10px;
	cursor: pointer;
	color: #000;
}

.tags #tag_list
{
	display: block;
	float: right;
	width: 50%;
}

.tags #tag_list ul
{
}

.tags #tag_list li
{
	float: left;
	margin: 2px 10px 2px 1px;
	padding: 2px 3px;
	list-style: none;
}

.tags #tag_list li:hover,
.tags #popular_tags li:hover
{
	background: #d9d9d9;
}

.tags #popular_tags
{
	display: block;
	float: left;
	width: 45%;
	padding-left: 5px;
}

.tags #popular_tags h4
{
	font-size: 11px;
}

.tags #popular_tags p
{
	font-size: 10px;
}

.tags #popular_tags ul li
{
	margin-left: 2em;
}


div.pagination
{
	margin-bottom: 35px;
}

div.pagination a,
div.pagination b
{
	display: block;
	float: left;
	margin: 4px 2px 0 0;
	padding: 1px 4px;
	border: 1px solid #eee;
	font-size: 15px;
}

ul.preview li
{
	margin-left: 2em;
}

p.message, p.warning, p.error
{
	padding: 4px;
	margin: 5px 0;
	border-width: 3px;
	border-style: double;
}

p.message
{
	border-color: green;
	background: #BFFF9D;
}

p.warning
{
	border-color: yellow;
	background: #F3FFB1;
}

p.error
{
	border-color: red;
	background: #FFCBA8;
}

p.info
{
	color: #c9c9c9;
	font-size: 13px;
}

p.links
{
	font-size: 14px;
	font-weight: bold;
	margin: 10px 0 10px 10px;
}

p.links a
{
	font-weight: normal;
	margin-right: 0.5em;
}

#filtration
{
	display: none;
}

#filtration table
{
	border: none;
}

#filtration table th
{
	font-weight: normal;
	padding: 0 1em;
	text-align: right;
}

#filtration table td
{
	padding-top: 2px;
}

/* ------ modules / pages ------ */



.expander
{
	display: none;
}

.page
{
	margin: 1em 2em;
	line-height: 150%;
}

#news_single
{
	padding: 0 3em 1em;
}

#news_single .news_footer
{
	margin-top: 1em;
}

#news p,
#news_single p
{
	line-height: 150%;
	text-align: justify;
}

#news a
{
	text-decoration: none;
}

#news .created_at,
.news .created_at
{
	color: #aaa;
	font-size: 1em;
}

.add_comment
{
	margin-top: 3em;
}

.add_comment td
{
	background: none !important;
}

.comments .author
{
	font-weight: bold;
}

.comments .date
{
	font-weight: normal;
	color: #ccc;
}

#location
{
	float: left;
}

#javascript 
{
	color: red;
	font-size: 20px;
	padding: 2px;
}

.attachments
{
	margin-top: 20px;
	padding-left: 2%;
	border: 1px dotted #bbb;
	background: #fcfcfc;
}

.attachments .description
{
	color: #333;
}

.attachments .size
{
	color: #777;
}

p.no_items
{
	padding-left: 1.2em;
	font-style: italic;
}

#sitemap
{
	padding-left: 1em;
}

#sitemap h5
{
	padding: 0.5em 0;
}

#sitemap li
{
	line-height: 170%;
	margin-left: 2em;
}

.statusbar
{
	padding: 0.8em 0.1em;
}

.results
{
	margin-left: 5%;
	width: 90%;
}

.results .highlight
{
	background: #ddf;
}

.results li
{
	color: #c1c1c1;
	border: 1px solid #eee;
	padding: 1em;
}

li.result
{
	margin-bottom: 1em;
}

li.result a
{
	font-size: 14px;
}

li.result p.description
{
	color: #000;
	margin: 3px 0 0 0;
	line-height: 150%;
}

.news_gallery h5
{
	margin: 3px;
}

.news_gallery li
{
	float: left;
	list-style-type: none;
	padding: 1px;
	margin: 5px;
	border: 1px solid #ddd;
}

.gallery
{
	margin-left: 2em;
}

#gallery
{
}

#gallery li
{
	list-style: none;
	float: left;
	padding: 4px;
}

#file_mini
{
	clear: left;
}

.box
{
	color: #444;
}

#admin_menu li
{
	float: left;
	list-style: none;
	padding: 0 0 3em 1em;
}

.sample_menu li
{
	margin-left: 2.5em;
}

/* ------- CALENDAR ----------- */

/* The main calendar widget.  DIV containing a table. */

div.calendar { position: relative; }

.calendar, .calendar table {
  border: 1px solid #bdb2bf;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #f8f8f8;
}

.calendar {
  border-color: #797979;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 2px;          /* Make the buttons seem like they're pressing */
  font-weight: bold;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  padding: 2px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #797979;
  padding: 2px;
  text-align: center;
  color: #000;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #c44;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  border-bottom: 1px solid #797979;
  padding: 2px 2px 1px 2px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  padding: 3px 1px 0px 3px;
  border-bottom: 1px solid #797979;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  color: #000;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #999;
}
.calendar tbody .day.othermonth.oweekend {
  color: #f99;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #797979;
}

.calendar tbody .rowhilite td,
.calendar tbody .rowhilite td.wn {
}

.calendar tbody td.today { font-weight: bold; /* background: url("today-bg.gif") no-repeat 70% 50%; */ }

.calendar tbody td.hilite { /* Hovered cells <TD> */
  padding: 1px 3px 1px 1px;
  border: 1px solid #bbb;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #c44;
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  border: 1px solid #797979;
  padding: 1px 3px 1px 1px;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  text-align: center;
  background: #565;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  padding: 2px;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #afa;
  border: 1px solid #084;
  color: #000;
  padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #7c7;
  padding: 2px 0px 0px 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border-width: 0 1px 1px 1px;
  border-style: solid;
  border-color: #797979;
  z-index: 100;
  font-size: 90%;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .active {
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #797979;
  padding: 1px 0px;
  text-align: center;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 5px 0px 6px;
  font-weight: bold;
}

.calendar td.time .hour,
.calendar td.time .minute {
  font-family: monospace;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

#list_files th, #sort_active th, #sort_thrash th{
    background-image: url(gfx/pagination/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

#list_files th.headerSortUp, #sort_active th.headerSortUp, #sort_trash th.headerSortUp { 
    background-image: url(gfx/pagination/asc.gif); 
 	background-repeat: no-repeat;
	background-position: center right;
    background-color: #4573b7; 
}

#list_files th.headerSortDown, #sort_active th.headerSortDown, #sort_trash th.headerSortDown {
    background-image: url(gfx/pagination/desc.gif); 
 	background-repeat: no-repeat;
	background-position: center right;
    background-color: #4573b7; 
}
