/**
 * /public_html/css/global.css
 *
 * @author    $Author: Ahmed $
 * @copyright 2010 Civit Technologies, LLC
 * @version   $Id: global.css 56 2010-07-11 20:29:25Z Ahmed $
 *
 */

html {
    background-color: #d44b29;
    background-image: url(../images/body-bg.png);
    width: 100%;
    overflow-y: scroll;
    text-align: justify;
    direction: rtl;
    unicode-bidi: embed;
}

body {
    margin: 0;
}

a {
    color: #1b1b1b;
    text-decoration: none;
}

a:hover,
a:active {
    text-decoration: underline;
}

h1, h2, h3, h4, h5 {
    margin-top: 0;
}

h1, h2 {
    font-family: Cambria, Georgia, Palatino, "Palatino Linotype", Myriad Pro, Serif;
    font-weight: normal;
}


input[type=text], input[type=password] {
    background-color: #f5f5f5;
    border: 1px solid #b9b9b9;
    padding-left: 2px;
    padding-right: 2px;
}

img {
    border: 0;
}

td {
    padding: 5px;
}

textarea {
    border: 1px solid #b9b9b9;
    background-color: #f5f5f5;
    text-align: right;
}

pre {
    background-color: #fff;
    width: 50%;
    margin: 20px;
    border: 1px solid #e0e0e0;
}

div#header {
    background-color: #b59645;
    width: 100%;
    border-bottom: 10px solid #762804;
    background-image: url(../images/head-bg.png);
}

div#header div#banner {
    width: 100%;
    background-color: #3d1909;
    background-image: url(../images/banner.jpg);
    background-repeat: no-repeat;
    height: 120px;
    margin-bottom: 12px;
}

div#header ul#navigation {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

div#header ul#navigation li {
    float: left;
    padding: 0;
    background-image: url(../images/nav-button-bg.png);
    background-repeat: repeat-x;
    border: 2px solid #762804;
    border-bottom: 0px solid #762804;
    margin: 0 6px;
    padding: 0 6px;
    text-align: center;
    line-height: 26px;
    white-space: nowrap;
    overflow: hidden;
}

div#header ul#navigation li.active {
    background-image: url(../images/nav-button-active-bg.png);
}

div#header ul#navigation li a {
    font-size: 16px;
}

div#container {
    background-image: url(../images/main-bg.png);
    width: 90%;
    margin: 0 auto 30px auto;
    height: 100%;
    padding: 12px;
    
    -moz-border-radius-bottomleft: 20px;
    -moz-border-radius-bottomright: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -webkit-border-bottom-right-radius: 20px;
}

div#container div#content-container {
    float: left;
    width: 100%;
}

div#container div#content-container div#content {
    background-color: #e9e7a7;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    
    padding: 12px;
    margin-right: 195px;
}

div#container div#right-sidebar {
    float: left;
    width: 180px;
    margin-left: -180px;
}

div#container div#right-sidebar div.module {
    width: 165px;
    background-color: #923104;
    
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 10px 6px;
    
    margin-bottom: 15px;
}

div#container div#right-sidebar div.module h4 {
    background-color: #e9e7a7;
    padding-left: 4px;
    margin-bottom: 0;
}

div#container div#right-sidebar div.module ul {
    list-style-type: none;
    padding: 0;
}

div#container div#right-sidebar div.module ul li {
    background-color: #b29435;
    border: 1px solid #b05101;
    padding: 0 2px;
    margin-bottom: 8px;
    font-size: 14px;
}

div#container div#footer {
    border-top: 1px solid #000;
    width: 90%;
    margin: 50px auto 10px auto;
    text-align: center;
    padding-top: 10px;
    line-height: 24px;
}

span.error, div.error {
    color: #700;
    font-weight: bold;
    padding-bottom: 15px;
}

td.listing {
    background-color: #e3e191;
    padding: 3px 6px;
    border-left: 1px solid #bfbd69;
    border-right: 1px solid #bfbd69;
    border-top: 1px solid #bfbd69;
    vertical-align: top;
	width: 50%;
}

.listing {
    clear: both;
    border-bottom: 1px solid #a0a0a0;
    padding: 0 0 0 0;
    margin-bottom: 20px;
}

.listing img {
    float: left;
    border: 1px solid #848484;
    margin: 3px 6px 3px 0;
}

td.panel {
    padding: 0 10px;
    background-color: #e3e191;
    border-left: 1px solid #bfbd69;
    border-right: 1px solid #bfbd69;
    border-bottom: 1px solid #bfbd69;
    text-align: right;
}

div.comments {
    width: 90%;
}

div.comment {
    padding-bottom: 6px;
    border-bottom: 1px solid #707070;
    margin-bottom: 20px;
}

div.comment img {
    float: left;
    padding: 0 10px 10px 0;
}

div.comment span {
    color: #715a17;
}

div#search {
    color: #b5200c;
    float: left;
    margin-left: 16px;
    padding: 3px 0 0 0;
}

div#search input[type=text] {
    background-color: #c75f00;
    border: 1px solid #af5400;
    color: #401f00;
}

div#search input[type=submit] {
    background-color: #c75f00;
    border: 1px solid #af5400;
    color: #401f00;
}

.hilite {
    color: #df6236;
    border-bottom: 1px dashed;
    font-weight: bold;
}

div.searchResult {
    border-bottom: 1px solid #a0a0a0;
    padding: 0 0 0 0;
    margin-bottom: 20px;
}


table.calendar {
    font-size: 12px;
}

table.calendar tr.calendar-info td {
    border-bottom: 1px solid #e6bd9a;
}

table.calendar tr.calendar-info td,
table.calendar tr.calendar-info td a {
    font-weight: bold;
    color: #e6bd9a;
    font-size: 14px;
}

table.calendar tr.calendar-head td {
    text-align: center;
    border-bottom: 1px solid #dcdcdc;
    color: #e6bd9a;
    font-weight: bold;
}

table.calendar tr.calendar-body td {
    background-color: #f5f5f5;
    border-bottom: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    text-align: right;
    cursor: pointer;
}

table.calendar tr.calendar-body td:hover {
    background-color: #e6bd9a;
}

table.calendar tr.calendar-body td.today {
    color: #c60000;
    font-weight: bold;
    background-color: #fff7d7;
}

table.calendar tr.calendar-body td.has-event {
    background-color: #f6e2ab;
}



table.calendar-large {
    border-left: 1px solid #e6bd9a;
    clear: both;
}

table.calendar-large tr.calendar-head td {
    background-color: #923104;
    color: #e6bd9a;
    font-weight: bold;
    text-align: center;
    
    padding: 5px;
    border-bottom: 1px solid #e6bd9a;
    border-top: 1px solid #e6bd9a;
    border-right: 1px solid #e6bd9a;
    width: 14%;
}

table.calendar-large tr.calendar-body td {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e6bd9a;
    border-right: 1px solid #e6bd9a;
    vertical-align: top;
    padding: 0;
    height: 80px;
}

table.calendar-large tr.calendar-body td div.day-number {
    width: 20px;
    height: 20px;
    background-color: #e9e9e9;
    color: #565656;
    border-bottom: 1px solid #e6bd9a;
    border-left: 1px solid #e6bd9a;
    text-align: center;
    float: right;
    font-weight: bold;
    
}

table.calendar-large tr.calendar-body td ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

table.calendar-large tr.calendar-body td ul li {
    border-left: 3px solid #923104;
    padding: 1px 0 1px 6px;
    margin-bottom: 1px;
    font-size: 12px;
}

table.calendar-large tr.calendar-body td.today {
    background-color: #fff7d7;
}

table tr.calendar-body td.blank {
    background-color: #eee !important;
}

div.section {
    border-bottom: 2px solid #b79a48;
    margin-bottom: 12px;
}


ul.bb-list-unordered { }
ol.bb-list-ordered { }
ol.bb-list-ordered-d { list-style-type:decimal; }
ol.bb-list-ordered-lr { list-style-type:lower-roman; }
ol.bb-list-ordered-ur { list-style-type:upper-roman; }
ol.bb-list-ordered-la { list-style-type:lower-alpha; }
ol.bb-list-ordered-ua { list-style-type:upper-alpha; }
ol.bb-listitem { }

.bb-code,
.bb-php {
  border: 1px solid black;
  padding: 10px;
  font-family: Courier;
  white-space: nowrap;
}

.bb-quote {
  border: 1px solid black;
  padding: 10px;
}

.bb-email { }
.bb-url { }

.bb-image {
  border-width: 0;
  border-style: none;
}
