/*** [Alerts] ***/
.msg_warning {
  border:1px solid #e96a6a;
  background-color:#f8b7b7;
  padding:6px;
  margin:5px 0 10px 0;
  display:block;
}
.msg_success {
  border:1px solid #add36f;
  background-color:#d4ecad;
  padding:6px;
  margin:5px 0 10px 0;
}
.msg_warning p, .msg_success p {
  margin:5px 0px;
}
.msg_success, .msg_success * {
    color:#719536;
}
.msg_warning, .msg_warning * {
    color:#de4646;
}
.msg_alert {
  border:1px solid #ffea00;
  padding:6px 6px 6px 28px;
  margin:5px 0 10px 0;
  display:block;
  height:1%;
}
.msg_alert, .msg_alert * {
    color:#4e5365;
}
/*** [/Alerts] ***/

img.iconnormal     {background-color:#1fafec;}
img.iconred        {background-color:#de4646;}
img.iconlightred   {background-color:#f8b7b7;}
img.icongray       {background-color:#888;}
img.iconyellow     {background-color:#40aa00;}


/*** [Sortable] ***/
table.datatable th a.sortable:link, table.datatable th a.sortable:visited {
  background:url(../images/styles/th_sort.gif) no-repeat 100% 50%;
  display:block;
  height:1%;
  color:#fff;
  padding-right:10px;
}
table.datatable th a.sortasc:link, table.datatable th a.sortasc:visited {
  background-image:url(../images/styles/th_asc.gif);
}
table.datatable th a.sortdesc:link, table.datatable th a.sortdesc:visited {
  background-image:url(../images/styles/th_desc.gif);
}



/*** [pager] ***/
.pager {
  position:relative;
  text-align:center;
  width:100%;
  margin: 15px 0 5px 0;
}
.pager a:link, .pager a:visited, .pager strong {
  font-size:10px;
  line-height:15px;
  padding:1px 6px;
  margin: 0 2px;
  color:#fff;
}
.pager a:link, .pager a:visited {
  background-color:#a7d36e;
}
.pager strong, .pager a:hover {
  background-color:#40aa00;
}

.pager a.llpage:link, .pager a.llpage:visited,
.pager a.lpage:link, .pager a.lpage:visited,
.pager a.rpage:link, .pager a.rpage:visited,
.pager a.rrpage:link, .pager a.rrpage:visited {
  background-color:#a7d36e;
  background-position:0px 0px;
  background-repeat:no-repeat;
  text-indent:-10000px;
  width:14px;
  height:14px;
  padding:0;
  display:block;
  position:absolute;
  top:0px;
}

.pager a.llpage:link, .pager a.llpage:visited {
  background-image:url(../images/styles/pager_ll.gif);
  left:0px;
}
.pager a.lpage:link, .pager a.lpage:visited {
  background-image:url(../images/styles/pager_l.gif);
  left:20px;
}
.pager a.rpage:link, .pager a.rpage:visited {
  background-image:url(../images/styles/pager_r.gif);
  right:20px;
}
.pager a.rrpage:link, .pager a.rrpage:visited {
  background-image:url(../images/styles/pager_rr.gif);
  right:0px;
}

.pager a.llpage:hover, .pager a.lpage:hover,
.pager a.rpage:hover, .pager a.rrpage:hover {
  background-color:#40aa00;
}



/*** [News] ***/


.article {
  margin: 10px 0 0 0;
  padding: 5px;
}
.aodd {
  background-color: #e8f8dd;
  /* border-bottom: 1px dashed #e0f1d4; */
}
.aeven {
  background-color: #f7f7f7;
  /* border-bottom: 1px dashed #efefef; */
}
.article .photo {
  float: right;
  margin: 5px 0 10px 5px;
}
.article h3 {
  margin: 0 0 5px 0;
}
.article p {
  margin: 0;
}

.photo_large {
  margin: 0 0 10px 0;
  display: inline-block;
}

h2.article_month {
  margin: 20px 0 0 0;
  border-bottom: 1px dashed #40aa00;
  padding: 0 3px;
}

hr.divider {
    margin: 5px 0;
}
p.details {
  color: #666;
  margin: 5px 0 0 0;
  clear: both;
}

.readmore {
  float: right;
}

.article p.details {
  padding: 2px 4px;
}
.aodd p.details {
  background-color: #e0f1d4;
}
.aeven p.details {
  background-color: #f0f0f0;
}

.imgpreview {
  margin: 10px 0 5px 140px;
}
.filepreview {
  line-height: 30px;
  margin: 0 0 0 140px;
}

/*** [/News] ***/

/*** [Misc] ***/
a.titleinfo {
    vertical-align: middle;
    margin: 0 0 0 2px;
}
.stricken {
    text-decoration: line-through;
}
.italic {
    font-style: italic;
}
/*** [/Misc] ***/

/*** [FRONTPAGE] ***/
#frontpage #main_wrapper {
  background: url(../images/layout/main_wide_bg.gif) repeat-y;
}
#frontpage #main {
  background: url(../images/layout/main_wrapper_frontpage.gif) no-repeat;
}

#frontpage_block {
  position: relative;
  height: 329px;
}

#frontpage #main #content {
  width: 740px;
  margin: 0;
  padding: 0;
}
#frontpage #footer {
  /* background-image: url(../images/layout/footer_frontpage.gif); */
  background-image: url(../images/layout/footer_wide.gif);
}


#frontpage_content {
  position: absolute;
  left: 15px;
  top: 17px;
  width: 548px;
  height: 270px;
}

#frontpage_categories {
  width: 143px;
  position: absolute;
  left: 598px;
  top: 17px;
  color: #129fd9;
}
#frontpage_categories * {
  color: #129fd9;
}
#frontpage_categories a:hover {
  color: #0f7eac;
}

#frontpage_articles {
}

#frontpage_articles .article {

}
#frontpage_articles .article .photo {
  margin-left: 10px;
}

.corner {
  width: 4px;
  line-height: 4px;
  height: 1%;
  position: absolute;
  background: #f0f url(../images/styles/corners.gif);
  display: block;
}
.aeven .details .corner {
  background: url(../images/styles/corners_even.gif);
}
.aodd .details .corner {
  background: url(../images/styles/corners_odd.gif);
}
.clt {
  left: 0;
  top: 0;
  background-position: 0 0 !important;
}
.crt {
  right: 0;
  top: 0;
  background-position: 0 -4px !important;
}
.crb {
  right: 0;
  bottom: 0;
  background-position: 0 -8px !important;
}
.clb {
  left: 0;
  bottom: 0;
  background-position: 0 -12px !important;
}



/*** [WIDE] ***/
/* This imitates frontpage in being wide, but doesn't change colors etc. */
#wide #main_wrapper {
  background: url(../images/layout/main_wide_bg.gif) repeat-y;
}
#wide #main #nav {
  margin: 0;
}
#wide #main #top {
  margin: 0 0 0 10px;
}
#wide #main #content {
  width: 745px;
  margin: 0;
  padding: 10px 5px 0px 10px;
  background-color: white;
}
#wide #footer {
  background-image: url(../images/layout/footer_wide.gif);
}



/*** [ADMIN] ***/

#admin_header {
  height: 30px;
}
#admin_header h1 {
  float: left;
}
#admin_header a {
  float: right;
  line-height: 14px;
}
#admin_header a img {
  vertical-align: bottom;
}

#filterform {
  margin: 0 0 10px 0;
}

/*** [DOCUMENTS] ***/

#documents h2 {
  margin: 25px 0 10px 0;
}
#documents h3 {
  margin: 10px 0 0 0;
  background-color: #f7f7f7;
  padding: 2px 5px;
}
#documents h3 a:link, #documents h3 a:visited {

}
#documents p {
  margin: 0;
  padding: 2px 5px;
}

#column_right li strong {
  color: #555;
}



/*** [SEARCH] ***/

#advanced_search {

}
#advanced_search .frmlabel {
  width: 200px;
}

#pageselect {
  float: left;
  width: 294px;
  margin: 4px 0 0 0;
}
#pageselect ul {
  list-style: none;
}

#pageselect li {
  background-image: none;
  background-color: #e7f1da;
  padding: 3px;
  margin: 0 5px 5px 0;
  display: block;
  float: left;
  width: 136px;
  border: 1px solid #fff;
}
#pageselect li.last {
  margin-right: 0;
}

#pageselect li input {
  display: block;
  float: left;
  margin-left: 0;
}

#pageselect li label {
  display: block;
  float: left;
  margin: 1px 0 0 0;
  color: #42aa00;
}


.document h3 {
  margin: 10px 0 0 0;
  background-color: #f7f7f7;
  padding: 2px 5px;
}

.document p {
  margin: 0;
  padding: 2px 5px;
}

.rescount span {
  float: right;
  color: #129FD9;
  font-weight: bold;
}

.category_header {
  margin: 20px 0 0 0;
  border-bottom: 1px dashed #40aa00;
  padding: 0 3px;
}


/*** [ AGENDA ] ***/


.event {
  display: block;
  margin: 0 0 10px 0;
  padding: 0;
  width: 460px;
  /* background-color: #f7f7f7; */

}
.event h3.name {
  background-color: #efefef;
  margin: 0 0 10px 0;
  padding: 4px;
}
.event h3.name a {

}
.event h3.name .date {
  color: #888;
  font-size: 11px;
}

.day_container {
  margin: 10px 0 0 0;
}
.day_num, .day_events {
  float: left;
}

.day_num {
  margin: 0 10px 0 0;
  padding: 0;
  height: 40px;
  width: 40px;
  line-height: 42px;
  font-weight: bold;
  text-align: center;
  background-image: url(../images/styles/day_num.gif);
  background-repeat: no-repeat;
  background-position: 0 0;
  color: #fff;
  font-size: 16px;
  cursor: default;
}
.month_abbr {
  line-height: 15px;
  padding-top: 6px;
}

#calendar {
  border: 1px solid #afdbee;
  background: #afdbee;
}
#calendar tr td, #calendar tr th {
  text-align: center;
  padding: 3px 0 3px 0;
  cursor: default;
}
#calendar tr td {
  background-color: #fff;
  border: 1px solid #fff;
  color: #aaa;
}
#calendar tr td:hover {
  border: 1px solid #fff;
  background-color: #f7f7f7;
}
#calendar tr td.today {
  border-bottom: 1px solid #0c96cf !important;
}
#calendar tr td#active {
  background-color: #efefef;
  border: 1px solid #fff;
}
#calendar tr td#active a {
  font-weight: bold;
  display: block;
}
#calendar tr.nav td {
  background-color: #0c96cf;
  padding: 0;
  border: none;
  font-weight: bold;
  color: #fff;
}
#calendar tr td a.linked {
  font-weight: bold;
  font-size: 12px;
  color: #0c96cf;
  display: block;
}
#calendar tr td a.linked:hover, #calendar tr td:hover a.linked {
  color:#000 !important;
}
#calendar tr.nav td.prev a, #calendar tr.nav td.next a {
  display: block;
  font-size: 15px;
  line-height: 17px;
  color: #fff !important;
}
#calendar tr.nav td.caption a {
  color: #fff !important;
}
#calendar tr.nav td.caption a:hover {
  text-decoration: underline;
}
#calendar tr th {
  background-color: #efefef;
  width: 30px;
  color: #555;
}


.tinfo {
  float: right;
}