/******************************************************************************************
 *									GENERAL
 ******************************************************************************************/

html, body {
  margin: 0px auto;
  padding: 0px;
  font-family: Arial;
  font-size: 14px;
  color: #666;
}

input {
  font-weight : normal;
}

form {
  margin : 0;
  padding : 0;
}

div {
  margin : 0px auto;
  padding : 0px;
}

p {
  padding : 0;
  margin : 0 0 2px 0;
}

a, a:hover, a:visited {
  color : #369;
  text-decoration : none;
}

strong {
  font-weight : bold;
}

h1 {
  font-size : 22px;
  margin: 0;
  padding: 0;
  padding-bottom: 12px;
}

h2 {
  font-size : 16px;
  margin : 0;
  padding : 0;
}

h3 {
  font-size : 14px;
  margin : 0;
  padding : 0;
}

img {
  border: 0px;
  padding: 0px;
  margin: 0px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

td {
    vertical-align: top;
}

th {
    vertical-align: top;
}

/******************************************************************************************
 *				jQuery and Ajax
 ******************************************************************************************/

.ui-draggable-dragging {
    background-color : #CCC;
}

.ui-droppable-hover {
    background-color : #EEE;
}

.ui-draggable-delete, .ui-draggable-delete:hover, .ui-draggable-delete:visited {
    font-weight : bold;
    text-decoration : none;
    cursor : pointer;
}

.XServerRequest {
    cursor : pointer;
}

.XDraggable {
    cursor : move;
}

/******************************************************************************************
 *				aligns and floats
 ******************************************************************************************/

.aleft {
    text-align: left;
}

.acenter {
    text-align: center;
}

.aright {
    text-align: right;
}

.atop {
    vertical-align: top;
}

.amiddle {
    vertical-align: middle;
}

.abottom {
    vertical-align: bottom;
}

.floatL {
    float: left;
}

.floatR {
    float: right;
}

.clearL {
    clear: left;
}

.clearR {
    clear: right;
}

.clear {
    clear: both;
}

/******************************************************************************************
 *									FORMS
 ******************************************************************************************/

form label {
  width: 150px;
  display: block;
  float: left;
  text-align: right;
  padding-right: 10px;
}

form label.noformstyle {
  display: inline;
  float: none;
}

form ul {
  list-style: none;
}

.error {
  font-size: 8pt;
  font-weight: bolder;
  color: red;
}

.notice {
    background-color: aqua;
    padding: 5px;
    margin : 5px;
}

.notice fieldset {
    color: black;
    font-weight: bold;
    padding: 0 0 0 10px;
    margin: 0;
    border-width: 1px;
    border-style: solid;
    border-color: black;
}

.notice p {
    font-weight: normal;
}

.errors {
    background-color: yellow;
    padding: 5px;
    margin : 5px;
}

.errors fieldset {
    color: red;
    font-weight: bold;
    padding: 0 0 0 10px;
    margin: 0;
    border-width: 1px;
    border-style: solid;
    border-color: red;
}

.errors ul {
    margin: 0;
    padding: 0 0 3px 2px;
    font-weight: normal;
}

.errors ul li {
    list-style: none;
}

.buttonS {
 background: #fff url('img/buttons/button_15_left.png') no-repeat top left;
 padding : 0px 0 0px 4px;
 margin-right: 2px;
 height : 15px;
 display : inline-block;

 overflow : hidden;
}

.buttonS a {
 background: #fff url('img/buttons/button_15_right.png') no-repeat top right;
 padding : 0px 6px 0px 1px;
 color : #666;
 font-weight : bold;
 font-size : 10px;
 cursor: pointer;
 text-decoration : none;
 display : inline-block;
 float : left;
 height : 15px;
}

.button {
 background: #fff url('img/buttons/button_25_left.png') no-repeat top left;
 padding : 0px 0 0px 4px;
 margin-right: 4px;
 height : 25px;
 display : block;
 float : left;
 overflow : hidden;
}

.button a, .button button {
 background: #fff url('img/buttons/button_25_right.png') no-repeat top right;
 padding : 3px 8px 0px 3px;
 color : #666;
 font-weight : bold;
 font-size : 14px;
 cursor: pointer;
 text-decoration : none;
 display : block;
 float : left;
 height : 25px;
}

.button button {
 padding : 0px 8px 4px 3px;
 border: none;
 vertical-align: baseline;
 font-family: 'Trebuchet MS', Arial;
}

.buttonL {
 background: #fff url('img/buttons/button_50_left.png') no-repeat top left;
 padding : 0px 0 0px 4px;
 margin-right: 8px;
 height : 50px;
 max-width: 200px;
 display : block;
 text-align: center;
 overflow : hidden;
}

.buttonL a {
 background: #fff url('img/buttons/button_50_right.png') no-repeat top right;
 padding : 11px 20px 0px 17px;
 color : #666;
 font-weight : bold;
 font-size : 20px;
 cursor: pointer;
 text-decoration : none;
 display : block;
 height : 50px;
}


/******************************************************************************************
  Tabs
 ******************************************************************************************/

ul.tabs {
    list-style-type: none;
    border-bottom: 1px solid yellow;
}

ul.tabs li {
    display: inline-block;
    padding: 3px;
}

ul.tabs li.active {
    background-color: yellow;
    font-weight: bold;
}

/******************************************************************************************
  News Box
 ******************************************************************************************/

#news .date {
    font-size: 12px;
    color: #aaa;
}

#news p {
    font-size: 12px;
}

/******************************************************************************************
  contact form
 ******************************************************************************************/

#contact_form_email input, #contact_form_subject input, #contact_form_message textarea {
    width: 500px;
}

/******************************************************************************************
 *									LAYOUT
 ******************************************************************************************/

body {
    background-color: white;
    background-image: url(img/layout/body_bg.gif);
    background-repeat: repeat-x;
    background-position: 0px 109px;
}

.wrapper {
    min-width: 980px;
    max-width: 1460px;
    width: 70%;
    position: relative;
}

#headerBox {
    height: 369px;
    background-image: url(img/layout/globe.png);
    background-repeat: no-repeat;
    background-position: 230px 45px;
}

ul.inline {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

ul.inline li {
    display: inline;
}


#topMenu {
    background-image: url(img/layout/top_menu_bg_right.jpg);
    background-repeat: no-repeat;
    background-position: bottom right;
    float: right;
    height: 34px;
    padding-right: 15px;
}

#topMenu ul {
    background-image: url(img/layout/top_menu_bg_left.jpg);
    background-repeat: no-repeat;
    background-position: bottom left;
    font-size: 8pt;
    height : 30px;
    padding-top: 5px;
}

#topMenu ul img {
    vertical-align: sub;
    margin-right : 5px;
    margin-left: 15px;
}

#topMenu a, #topMenu a:hover, #topMenu a:visited {
    text-decoration: none;
    font-weight: normal;
}

#logo {

    clear: both;
}

#logo h1, #logo h2 {
    color: #305c8b;
    padding: 0;
    margin: 0;
}

#logo img {
    border-width: 0;
    margin: 0;
    padding: 0;
}

#logo h1 {
    height: 45px;
}

#logo h2 {
    font-size: 12px;
}

#logo a, #logo a:hover, #logo a:visited {
    text-decoration: none;
    color: #305c8b;
    margin: 0;
    padding: 0;
}

#breadcrumbs {
    display: block;
    text-align: right;
    font-size: 12px;
}

#breadcrumbs a, #breadcrumbs a:visited {
    text-decoration: none;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}

#headerMenu {
    width: 190px;
    text-align: right;
    display: block;
    padding-right: 20px;
    margin-top: 40px;
    float: left;
    background-image: url('img/layout/header_menu_bg.gif');
    background-repeat: repeat-y;
    background-position: top right;
    list-style-type: none;
}

#headerMenu li a {
  font-size: 20px;
  font-weight: bold;
  color : #559;
  font-variant: small-caps;
}

#headerMenu li {
  padding-bottom: 0px;
}

#headerAdvert {
    margin-left: 535px;
    margin-top: 30px;
}

#headerAdvert cite {
    font-size: 12px;
    margin-bottom: 10px;
    display: block;
}

.headerAdvertBox {
    width: 205px;
    height: 134px;
    display: block;
    float: left;
    background-image: url('img/layout/advert_box_bg.jpg');
    margin-right: 10px;
}

.headerAdvertBox h3 {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0 5px 20px;
}

.headerAdvertBox img {
    height: 90px;
    margin-left: 20px;
}

#mainBox {

}

#leftPanel {
    width: 240px;
    float: left;
    background-color: #cfe3b0;
    background-image: url(img/layout/left_panel_bg.png);
    background-position: top;
    background-repeat: repeat-x;
    padding: 20px 20px 18px 22px;
    border-right: 0px solid black;
    line-height: 1.4;
}

#leftPanelColumn {
    position: absolute;
    left: 0;
    width: 282px;
    height: 100%;
    padding-bottom: 20px;
    background-color: #cfe3b0;
    z-index: -1;
    border-right: 0px solid black;
}

#leftPanel h2 {
    color: #000;
}

#contentPanel {
    margin-left: 300px;
    padding-top: 20px;
    line-height: 1.25;
    position: relative;
}

#contentPanel .articleMenu li {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 15px;
}

#contentPanel p {
    padding-bottom: 12px;
}

.leftPanelAdvert {
    text-align: center;
}

#contentNoticePanel {
    padding: 5px;
    background-color: aqua;
    min-height: 30px;
    text-align: center;
    font-style: italic;
}

#footerBox {
    clear: both;
    padding-top: 10px;
    padding-bottom: 15px;
    margin-top: 20px;
    border-top: 1px solid #ccc;
}

#footerBox, #footerBox a, #footerBox a:hover, #footerBox a:visited {
    color: #390;
}

#footerCopyright {
    float: right
}

#footerCopyright img {
    vertical-align: baseline;
}

#footerMenu li {
    margin-right: 20px;
}


/** *************************************************************************************
 *                  MODULES
 * **************************************************************************************/

/** ************************************************************************************
 *      post
 */

ul.post {
    list-style-type: none;
    padding: 0;
}

ul.post li.head {
    font-weight: bold;
    border-style: solid;
    border-width: 0 0 1px 0;
}

ul.post li.row {
    border-style: solid;
    border-width: 0 1px 1px 1px;
}

ul.post li.newmsg {
    font-weight: bold;
}

ul.post .from {
    display: inline-block;
    width: 20%;
}

ul.post .msg {
    display: inline-block;
    width: 70%;
}

ul.post .del {
    display: inline-block;
}

/** ************************************************************************************
 *      openid
 */

#openIdLoginInput {
  background: #FFFFFF url(img/openid-icon-small.gif) no-repeat;
  padding-left: 18px;
  border: 1px solid black;
}


