/*
Theme Name: Biolife
Theme URI: http://nood.org/
Description: Light free theme by nood.org. Requitres noodle base theme http://drupal.org/project/noodle
Author: Andrey Pshenichny
Author URI: http://andreys.info/
*/


/* @group layout */

#page-wrapper {
    margin: 0 auto;
    width: 1024px;

}
#page {
	 background: none repeat scroll 0 0 #FFFFFF;
   border-radius: 0 0 1em 1em;
   box-shadow: 0 0 0.75em rgba(0, 0, 0, 0.75);
   float:left;
   margin-bottom: 3em;
}

#header,
#main,
#footer {
}

#header {
}

#footer-wrapper {
  padding-bottom: 15px;
  padding-top: 15px;
}
#header-wrapper {
  padding-top: 15px;
}

#content {
  float: right;
  border-left: 1px solid #ddd;
  width: 629px;
  margin-top:10px;
}

.no-sidebars #content {
  width: 930px;
  padding-left: 15px;
  padding-right: 15px;
  border-left: none;
}

#sidebar-first {
  float: left;
  padding-left: 15px;
  padding-right: 14px;
  width: 270px;
}

#logo {
  float: left;
  width: 640px;
  margin-right: 20px;
}

/* @end */

/* @group menu */

.navigation {
  float: left;
  padding: 0 15px 15px;

  width: 930px;
}

.region-header-navigation {
  clear: none;
  float: right;
  width: 710px;
  padding-right: 0;
  padding-left: 0;
  margin-top:-15px;
}

.region-header-top {
  clear: none;
  float: right;
  width: 725px;
  padding-right: 0;
  padding-left: 0;
  margin-top:-68px;
  color: #000;
}

.region-header-navigation .block-menu,
.region-header-navigation .block-menu-block,
.region-header-navigation .block-superfish {
  background-color: #41ad49;
  float: left;
  width: 710px;
}

.region-header-navigation .menu,
.region-header-navigation .sf-menu {

  float: left;
  width: 710px;
}

.region-header-navigation .menu ul {
  padding: 0;
  width: auto;
  float: left;
  clear: both;
}

.region-header-navigation .menu li {
  margin: 0;
}

.region-header-navigation .menu li a,
.region-header-navigation .sf-menu li a {
  float: left;
  color: #fff;
  font-size: 17px;
  border-right: 1px solid #fff;
  text-transform: capitalize;
  padding: 5px 10px;
  font-weight:normal;
}

.region-header-navigation .menu ul li a {
  font-size: 16px;
  margin-right: 0;
  padding-right: 0;
  border-right: none;
  text-transform: lowercase;
  font-weight:normal;
}

.region-header-navigation .menu li.last a,
.region-header-navigation .sf-menu li.last a {
  border-right: none;
}

.region-header-navigation .menu li a:hover,
.region-header-navigation .menu li a.active-trail:hover,
.region-header-navigation .sf-menu li a:hover,
.region-header-navigation .sf-menu li a.active-trail:hover {
  color: #2e7a34;
  text-decoration: none;
    font-weight:normal;
}

.region-header-navigation .menu li a.active-trail,
.region-header-navigation .sf-menu li a.active,
.region-header-navigation .sf-menu .sfHover a {
  /*color: #2e7a34;*/
  color:#000;
  text-decoration: none;
    font-weight:normal;
}

.region-header-navigation .sf-menu .sfHover li a:hover {
  color: #333;
    font-weight:normal;
}

.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
  top: 2.2em;
}

.region-header-navigation .sf-menu ul {
  background: #fff;
  border: 1px solid #41ad49;
  padding: 10px 10px 5px;
}

.region-header-navigation .sf-menu ul li a.active {
  color: #333;
}

.region-header-right {
  margin-right:0;
  float:right;
}

/* Search block in region header. */
.region-header-right #block-search-form {
  width: 208px;
}
.region-header-right #block-search-form .form-text {
  width: 154px;
}


.sidebar .block-menu,
.sidebar .block-menu-block {
  margin-bottom: 40px;
  margin-top: 15px;
  float: left;
}

.sidebar .menu {
  float: left;
  display: block;
  clear: both;
  padding-left: 0;
  width: 270px;
}

.sidebar .menu li {
  float: left;
  display: block;
  clear: both;
  font-size: 18px;
  width: 270px;
  border-bottom: 1px solid #eee;
  padding-bottom: 2px;
  padding-top: 2px;
}

.sidebar .menu ul li {
  font-size: 14px;
}

.sidebar .menu ul li.last {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar .menu li.first {
  border-top: 1px solid #eee;
}

.sidebar .menu li a {
  /*DBEfont-weight: bold;*/
  font-size: 1em;
  font-weight: normal;
  padding-left: 30px;
  background: url(images/menu-arrow.png) no-repeat 5px -122px;
  color: #555;
  padding-top: 3px;
  padding-bottom: 3px;
  display: block;
}

.sidebar .menu ul li a {
	font-weight: normal;
  padding-left: 40px;
  background: url(images/menu-arrow.png) no-repeat 15px -125px;
  font-weight: normal;
}

.sidebar .menu li a:hover,
.sidebar .menu li a.active {
  /*DBEfont-weight: bold;*/
  font-weight: normal;
  color: #2e7a34;
  background: url(images/menu-arrow.png) no-repeat 5px -2px;
  text-decoration: none;
}

.sidebar .menu ul li a:hover,
.sidebar .menu ul li a.active {
	font-weight: normal;
  background: url(images/menu-arrow.png) no-repeat 15px -5px;
}

.sidebar .menu li a.visited {
	font-weight: normal;
  color: #555;
}

/* @end */

body {
  font: 14px "Lucida Grande", Lucida, Verdana, sans-serif;
  color: #666;

    background-attachment: fixed;
    background-clip: border-box;
    background-color: #FFFFFF;
    background-image: url("images/bg.jpg");
    background-origin: padding-box;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;



}

h1, h2, h3 {
  font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
  margin-bottom: 0.1em;
}

h1 {
  color: #2e7a34;
  padding-bottom: 0;
  display: inline-block;
  float: left;
  padding-top: 0;
  font-style: normal;
  font-size: 38px;
  line-height: 1em;
}

h1 a,
h1 a:active,
h1 a:visited {
  color: #2e7a34;
}

.front h1#page-title {
  display: none;
}

h2 {
  font-style: normal;
  font-size: 28px;
  line-height: 1em;
  color: #999;
}

h2 a,
h2 a:active,
h2 a:visited {
  color: #2e7a34;
}

h3 {
  font-style: normal;
  font-size: 18px;
  line-height: 1.2em;
}

.caption {

  font-size: small;

  color: #333;
}

.breadcrumb {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 12px;
}

.breadcrumb a {
  color: #999;
}

blockquote,
.field-name-field-brief {
  font-size: 1.3em;
  padding-left: 45px;
  margin-bottom: 15px;
  color: #777;
}

.block h3 {
  font-weight: normal;
  font-style: normal;
}


.region-footer-bottom .block {
  color: #2e7a34;
  margin-top: 15px;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  padding-top: 5px;
  padding-bottom: 5px;
}

.region-footer-bottom .block p {
  margin: 0;
  padding-right: 0;
  letter-spacing: 1px;
  font-size: .9em;
}

.credit {
  text-align: center;
  font-size: xx-small;
  font-style: italic;
  color: #ccc;
}

.credit a,
.credit a:visited {
  color: #bbb;
}

/* @group links */

a,
a:visited,
a.active,
li a.active {
  /* DBE */
	/*color: #000;*/
  color: #2e7a34;
  font-weight:bold;
    font-size: 0.9em;
  text-decoration: none;
}

a:hover,
li a.active:hover {
  /* DBE */
  /*color: #000;*/
  color: #2e7a34;
  font-weight:bold;
text-decoration: underline;
}

/* @end */

/* @group news */

.node-readmore a,
.views-field-view-node {
  background: url(images/chevron-small.png) no-repeat right center;
  padding-right: 15px;
  display: inline-block;
  margin-right: 10px;
}

.submitted,
.views-field-created {
  color: #999;
}

.front .view-news .views-row {
  float: left;
  width: 220px;
  margin-right: 16px;
}

.front .view-news .views-row-last {
  margin-right: 0px;
}

.front .view-news h3 {
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.front .view-news .views-field-created {
  margin-bottom: 10px;
}

.node .field-type-image .field-item, .view-news .node .field-name-field-news-image .field-item{
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.node .field-name-field-news-image .field-item{
	float: none;
}

.node.view-mode-full .field-type-image .field-item {
  margin-right: 0px;
  margin-bottom: 10px;
}

.node-news.node-teaser {
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
}

.views-row-last .node-news.node-teaser {
  border-bottom: none;
}

.node-news.node-teaser h2 {
  margin-bottom: 0;
}



/* @end */


/* @group front */


.front-slideshow .view-content {
  display: inline-block;
  float: left;
  width: 500px;
  margin-bottom: 15px;

}

.front-slideshow .view-content a,
.front-slideshow .view-content a:visited,
.front-slideshow .view-content a.active {
  color: #FFFFFF;
  font-weight: normal;
}


.front-slideshow .view-footer {
  display: block;
  width: 410px;
  margin-left: 20px;
  float: left;
  font-size: 16px;
}
.front-slideshow .view-footer p{
  margin-top:5px;
  margin-bottom:0px;
  line-height:1.2em;
}

.front-slideshow .views-field-title {
  margin-top: -17px;
  text-align: right;
}

.front-slideshow .views-field-title .field-content {
  font-size: 1.4em;
  background-color: #41ad49;
  color: #fff;
  width: 96%;
  display: inline-block;
  text-align: left;
  padding: .1em 2% .2em 2%;

}

.front-slideshow .view-footer p {
  padding-bottom: 1em;

}

.front #block-views-news-block {
  padding-top: 1.5em;
}


/* --------------- Search Form ---------------- */

#block-search-form {
  padding-bottom: 7px;
}
#block-search-form .content {
  margin-top: 0;
}
#search-form input#edit-keys,
#block-search-form .form-item-search-block-form input {
  float: left; /* LTR */
  font-size: 1em;
  height: 1.143em;
  margin-right: 5px;
  width: 20em;
}
#search-block-form input.form-submit,
#search-form input.form-submit {
  margin-left: 0;
  margin-right: 0;
  height: 25px;
  width: 34px;
  padding: 0;
  cursor: pointer;
  text-indent: -9999px;
  border-color: #e4e4e4 #d2d2d2 #b4b4b4;
  background: url(images/search-button.png) no-repeat center top;
  overflow: hidden;
}
#search-block-form input.form-submit:hover,
#search-block-form input.form-submit:focus,
#search-form input.form-submit:hover,
#search-form input.form-submit:focus {
  background-position: center bottom;
}
#search-form .form-item-keys label {
  display: block;
}

/* @end */

.region-header-navigation {
  background: url(images/menu-leaves.png) no-repeat left top;
  background-size: 105px 45px;
  padding-left: 105px;
  padding-bottom: 15px;
}

.region-header-navigation .block-menu,
.region-header-navigation .block-menu-block,
.region-header-navigation .block-superfish {
  border-radius: 8px;
}

.front .view-news .view-content {
  border-radius: 8px;
}
.front .view-news .views-row {
  background: #E9F2D9;
  margin: 0;
  padding: 10px 10px 10px 0;
}
.front .view-news .views-row-first {
  padding-left: 10px;
}
