/**
 * Styles for all custom elements: nodes, blocks, pages, etc.
 */
 
/**
 * Hide title on some pages.
 */
 
.node-id-30 #title {
  display: none;
}
.node-id-40 #title {
  display: none;
}
/**
 * Main menu (Nice menus).
 */

#mainmenu {
  position: relative;
  float: right;
  width: 620px;
  height: 70px;
  margin: -77px 0 0 0;
  padding: 30px 20px 0 0;
  font-weight: bold;
}

#mainmenu li {
  margin-left: 1.2em;
  font-size: 16px;
}

#mainmenu a {
  text-decoration: none;
  color: #333;
}

#mainmenu a.underlined,
#mainmenu a:hover,
#mainmenu a.active,
#mainmenu .active-trail a {
  color: #028cbb;
}

#mainmenu a:hover,
#mainmenu a.underlined {
  text-decoration: underline;    
}

#mainmenu ul ul {
  padding: 25px 0 5px !important;
  padding: 25px 0 0;
  font-weight: normal;
}

#mainmenu ul ul li {
  margin: 0;
  padding: 0 0.7em 0 0.5em;
  background: url('../images/mainmenu_divider.png') no-repeat right 0.3em;
}

#mainmenu ul ul li.last {
  padding-right: 0;
  background: 0 none;
}

#mainmenu ul ul a {
  margin: 0;
  font-size: 13px;
  color: #555 !important;
  text-decoration: none !important;
}

#mainmenu ul ul a.active,
#mainmenu ul ul a:hover {
  color: #028cbb !important;
}

#mainmenu ul ul a:hover {
  text-decoration: underline !important;
}

#mainmenu ul ul a.active {}


/**
 * Frontpage blocks News, Events, Blog.
 */
 
#bottom a.rss-icon {
  float: left;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background: url('../images/rss.png') no-repeat left top;
}

#bottom .view-header h2 {
  margin: 0 0 0.8em;
}

#bottom .view-header h2 a {
  font-size: 16px;
  color: #333;
  text-decoration: none;  
}

#bottom .view-header h2 a:hover {
  text-decoration: underline;
}

#bottom .views-row {
  margin-bottom: 0.7em;
}

#bottom .views-field-created {
  font-weight: bold;
}

#bottom .views-field-title a,
#bottom .views-field-created a {
  font-weight: bold;
  text-decoration: none;
  color: #555;
}

#bottom .views-field-title a:hover,
#bottom .views-field-created a:hover {
  color: #028cbb;
}

#bottom .views-field-comment-count {
  color: #888;
}

/**
 * Content styles.
 */
 
td.col-2 {
  padding-left: 30px;
  padding-right: 0;
  background: url('../images/column_divider.png') no-repeat 10px center;
}

.field-field-content-thumb {
  float: left;
  margin: 0 1em 0.5em 0;
}

.field-field-content-thumb a,
.field-field-content-thumb img {
  display: block;
}

.field-field-content-thumb img {
  padding: 1px;
  border: 1px solid #CFCFCF;
}

/**
 * Portfolio.
 */
 
.node-type-project {
  position: relative;
  height: 235px;
  margin: 10px -10px 0 !important;
  padding: 5px 20px 10px 490px;
  color: #fff;
}

.node-type-project .content {
  width: 350px;
  padding: 15px 0 0;
}

/**
 * Header slideshow.
 */

#block-block-2,
#block-block-4 {
  height: 340px;
  overflow: hidden;
  margin-bottom: 0;  
} 
 
#block-block-2 ul,
#block-block-4 ul,
#block-block-2 li,
#block-block-4 li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/**
 * Contact form.
 */
 
#node-19 .contact-info {
  float: right;
  width: 200px;
}
 
#node-19 form {
  margin-top: 2em;
}
 
#node-19 form label {
  float: left;
  width: 140px;
  margin: 3px 10px 0 0;
  text-align: right;
}

#node-19 .form-required {
  color: #ff0000;
}

#node-19 .form-item {
  overflow: hidden;
  margin: 1em 0;
}

#node-19 .form-checkboxes {
  margin: 0 0 0 150px;
}

#node-19 .form-checkboxes label {
  display: inline;
  float: none;
  width: auto;
  text-align: left;
}

#node-19 .form-checkboxes .form-item {
  margin: 0 0 0.3em;
}

#edit-submitted-name,
#edit-submitted-email-address {
  width: 231px;
  height: 24px;
  border: 0 none;
  padding: 4px 7px 0;
  background: url('../images/textfield_bg.png') no-repeat left top;
  font-size: 14px;
  color: #555;
}

#node-19 .resizable-textarea {
  width: 461px;
  margin-left: 150px;
}

#node-19 .form-textarea {
  width: 447px;
  border: 0 none;
  padding: 7px;
  background: url('../images/textarea_bg.png') no-repeat left top;
  font-size: 14px;
  color: #555;
  font-family: arial, helvetica, sans-serif;
}

h1{
	font-family: arial, helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	text-transform: none !important;
}

#node-19 .captcha {
  width: 425px;
}

#node-19 div.captcha div.description{
	margin-left:151px;
}

#node-19 .captcha img {
  float: right;
}

#node-19 #edit-submit {
  margin: 0 0 0 150px;
}

#logo img{
	width:160px;
	height:66px;
}

#slogan{
	position: relative;
	font-size: 11px;
	font-style: italic;
	width: 380px;
	float: left;
	padding-top: 50px;
	margin-left: 10px;
	font-family: "Arial Narrow", Arial, sans-serif;
}

@-moz-document url-prefix() {
	#slogan{
		font-size:9px;
	}
}

#main-area li{
	margin: 0 !important;
}