/* ====== Global Custom Theming ====== */

body {
  background: url(/sites/all/themes/diamond/body-bg.png);
}

#bodycontainer-inside {
  border-width: 8px;
  border-style:  solid;
  margin-bottom: 1em;
}

tbody {
  border-top: none;
}

/* ====== Header Theming ====== */
#header {
  background: url(/sites/all/themes/diamond/header.jpg) no-repeat;
}

#header #logo {
  height: 136px; /* Proper height fix */
}

#headerbar div {
  border: none;
}

/* ====== Primary Links Menu ====== */
.primarymenu {
  background: url(/sites/all/themes/diamond/primarylinks-bg.png) repeat-x;
  height: 33px;  /* Firefox Fix */
}

.primarymenu a {
  display: inline-block;
  border-left: 1px solid #fff;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  padding: 5px 5px 10px 5px;
  margin-bottom: 0;
  border-top-right-radius: 7px;
  border-top-left-radius: 7px;
  -moz-border-radius-topright: 7px;
  -moz-border-radius-topleft: 7px;
  -webkit-border-top-right-radius: 7px;
  -webkit-border-top-left-radius: 7px;
}

ul.links li {
  padding: 0;
}

ul.links li.first {
  margin-left: .5em;
}

#menu ul.links li a, #comments ul.links li a {
  padding: 5px;
  background: url(/sites/all/themes/diamond/primarylinks-bg.png) repeat-x transparent;
}

#menu ul.links li a:hover, #comments ul.links li a:hover {
  background-color: #fff; 
  color: #005C99 !important;
  background: url(/sites/all/themes/diamond/primarylinks-hover-bg.png) repeat-x transparent;
}

ul.links li:hover {
  /* background-color: #fff; */ /* IE7 Fix (Replaced with background image) */
}

/* ====== Menu Block Theming ====== */
#sidebar-left .block {
  border-width: 3px;
  border-style:  none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -moz-border-radius-bottomright: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  box-shadow: 2px 2px 12px 2px #333;
  -moz-box-shadow: 2px 2px 12px 2px #333;
  -webkit-box-shadow: 2px 2px 12px 2px #333;
}
.block .title {
  background: url(/sites/all/themes/diamond/primarylinks-bg.png) repeat-x;
  margin: 0;
  padding: 3px 0 3px 5px;
}


/* ====== Left-Right Sidebar Menu Theming ====== */

ul.menu li {
  padding-right: 0;
}

ul.menu li a {
  padding: .2em 0 .2em .2em;
}

ul.menu a {
  display: block;
}

ul.menu a:hover, ul.menu a.active {
  border-left: 6px solid;
}

ul.menu li {
  list-style-type: none;
  list-style-image: none;
}

/* Anything Less won't work in IE6 */
ul.menu li.leaf a {
  text-decoration: none;
}

/* ====== Custom Block Theming ====== */
.block-switchtheme .form-item, .block-switchtheme .form-submit {
  margin-left: 1.5em;
}

/* ====== Page Theming ====== */

/* *** End of Comment Theming *** */

/* ****** Start of Siloutte Image ****** */
#bodycontainer-inside {
  background: url(/sites/all/themes/diamond/silloute.png);
  background-repeat: no-repeat;
  background-position: 70% center;
  background-attachment: fixed;
}

#content, #main, .node, .content {
  background: transparent;
}
/* ****** End of Siloutte Image ****** */

/* ****** Start of Page Images ****** */

a img {
  opacity: 1;
  -moz-opacity: 1;
  -khtml-opacity:  1;
  filter: alpha(opacity=100);
}

a:hover img {
  opacity: .85;
  -moz-opacity: .85;
  -khtml-opacity: .85;
  filter: alpha(opacity=85);
}

.node .content img {
  border: 3px solid #333;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 1px 1px 13px 1px #333;
  -webkit-box-shadow: 1px 1px 13px 1px #333;
  -moz-box-shadow: 1px 1px 13px 1px #333;
}

.node .content a img, .imagecache-photo_gallery_viewlist img {
  border: 3px solid #005C99;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 1px 1px 13px 1px #333;
  -webkit-box-shadow: 1px 1px 13px 1px #333;
  -moz-box-shadow: 1px 1px 13px 1px #333;
}

.node .content a:hover img, .imagecache-photo_gallery_viewlist img:hover {
  border-color: #333;
}

/* ****** End of Page Image ****** */

/* ****** Start of Imagefield Gallery Theming ****** */
.field-field-imagefield-gallery {
  display: inline;
  margin: 0 auto;
}

.field-field-imagefield-gallery img {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.view-content .views-field-field-date-value {
  text-align: right;
 padding-right: .8em;
}
/* ****** End of Imagefield Gallery ****** */

/* --- captcha layout --- */
.captcha img {
  margin: 1em;
}

/* ====== Footer Theming ====== */
#footer {
  background: url(/sites/all/themes/diamond/footer-bg.png) repeat-x bottom;
  text-align: center;
  padding-top: 1.5em;
}

#footer a {
  color: #fff;
  border-bottom: 1px dashed #fff;
}

#footer a:hover {
  border-bottom: 1px solid #fff;
}

#footer .block {
  border: 0;
}

#footer .block .title {
  display: none;
}

/* ====== Webform Theming ====== */
.webform-component-fieldset input, .webform-component-fieldset textarea {
  opacity: .65;
  -moz-opacity: .65;
  -khtml-opacity: .65;
  filter: alpha(opacity=65);
}

/* ====== Testing ====== */

