body {
  background: #fff;
  color: #666;
  font: 13px/1.6 "Helvetica", "Tahoma", "Arial", sans-serif;
  position: relative;
}

a {
  color: #8a8a8a;
}
a:hover {
  color: #000;
  text-decoration: none;
}

p {
  margin: 0 0 12px 0;
}
.block {
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #5387ce;
  font-family: "Arial", "Helvetica", "Tahoma", sans-serif;
  font-weight: normal;
  line-height: 1;
  margin: 0 0 20px 0;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 18px;
  margin: 0 0 16px 0;
}
h3 {
  font-size: 16px;
  margin: 0 0 14px 0;
}
h4 {
  font-size: 14px;
  margin: 0 0 12px 0;
}
h5,
h6 {
  font-size: 14px;
  margin: 0 0 12px 0;
}

h1 a,
h2 a,
h1 a:hover,
h2 a:hover {
  color: #5387ce;
}
.left {
  float: left;
}
.right {
  float: right;
}
.nopadding {
  padding: 0!important;
}


#logo {
  float: left;
  margin: 15px 0 7px 15px;
}
#site-name {
  float: left;
  margin: 30px 15px 0 20px;
}
#site-slogan {
  float: left;
  margin: 30px 15px 0 20px;
}

/* main
/*-------------------------------------------*/
#main {
  margin: 20px 0 30px 0;
}

#main .node-teaser {
  margin: 0 0 20px;
}

#breadcrumb {
  background: url('../images/line2.png') left bottom no-repeat;
  font-size: 12px;
  margin: 0 0 25px 0;
  padding: 0 0 8px 0;
}
#breadcrumb a {
  text-decoration: none;
}


/* top columns
/*-------------------------------------------*/
#top-columns {
  background: url('../images/line.png') bottom center no-repeat;
  margin: 25px auto 0 auto;
}


/* bottom columns
/*-------------------------------------------*/
#bottom-columns {
  margin: 0 0 20px 0;
}
#bottom-columns .block {
  padding: 0 30px 0 0;
}

/* footer
/*-------------------------------------------*/
footer {
  background: #f5f5f5 url('../images/footer-shadow.png') top center no-repeat;
  border-top: 1px solid #e9e9e9;
  color: #8a8a8a;
  font-size: 12px;
  padding: 40px 0;
  position: relative; 
}

footer h2 {
  color: #5c5c5c;
  font-size: 14px;
  font-weight: bold;
}

#copyright {
  float: left;
}

.f-left,
#top-columns img,
#bottom-columns img,
.front #top_content img,
.field-type-image img {
  background: #fff;
  border: 1px solid #ebebeb;
  float: left;
  margin: 5px 15px 10px 0; 
  padding: 5px; 
}
.f-right {
  background: #fff;
  border: 1px solid #ebebeb;
  float: right;
  margin: 5px 0 10px 15px; 
  padding: 5px; 
}

#slidebox {
  margin: 0 0 40px 0;
  position: relative;	
  zoom: 1;
}
.flex-direction-nav a {
  background: url(../images/arrows.png) no-repeat;
  border-color: initial;
  border-image: initial;
  border-style: initial;
  border-width: 0px;
  display: block;
  height: 30px;
  margin: -15px 0 0;
  text-indent: -9999px;
  width: 30px;
}
.flex-direction-nav .flex-prev {
  left: 15px;
}
.flex-direction-nav .flex-next {
  right: 15px;
}
.flexslider:hover .flex-next:hover, 
.flexslider:hover .flex-prev:hover {
  background-position-y: 0;
}
.overlay {
  background: url(../images/overlay.png);
  height: 100%;
  left: 0px;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 100;    
}
.flex-caption {
  color: #fff;
  left: 50%;
  margin-left: -350px;
  position: absolute;
  text-align: center;
  top:28%;
  width: 700px;  
  z-index: 101;
} 
.flex-caption h2 {
  color: #fff;
  font-size: 36px;
  text-transform: uppercase;
}
.flex-caption h2 a:link, 
.flex-caption h2 a:visited {
  color: #fff;
}
.flex-caption p {
  font-size: 16px;
}
a.readmore {
  background: rgba(255,255,255,0.2);
  border: 1px solid #fff;
  color: #fff;
  display: block;
  font-weight: bold;
  margin: 20px auto;
  padding: 10px 0px;
  text-transform: uppercase; 
  width: 150px;
}
@media (max-width: 767px) {
  .flex-caption {
    display: none;
  }
}

.submitted {
  color: #8a8a8a;
  font-size: 12px;
  margin: 0 0 10px 0;
}
.node-teaser .content.clearfix:after {
  content: none;
}
.field-name-field-tags div {
  display: inline;
}
ul.inline li {
  margin: 0;
  padding: 0;
}
.links li a {
  background-color: #eee;
  border-radius: 4px;
  color: #666;
  padding: 4px 5px;   
}
.field-name-field-tags {
  margin: 0 0 12px;
}
.field-name-field-tags a {
  background: #eee;
  border-radius: 4px;
  color: #666;
  margin-bottom: 5px;
  margin-right: 5px;   
  padding: 2px 6px;	
}

/* search
/*-------------------------------------------*/
#block-search-form {
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  height: 34px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
#block-search-form .form-item-search-block-form {
  float: left;
  width: 86%;
}
#block-search-form .form-item {
  margin: 0;
}
#block-search-form input[type='text'] {
  background: none;
  border: none;
  color: #8a8a8a;
  font-size: 13px;
  padding: 8px 12px 8px 12px;
  width: 100%;
}
.box ul,
.search-info,
.search-snippet,
#search-block-form label {
  display: none;
}

#block-search-form .form-submit {
  background: url('../images/search.png') no-repeat 0 0;
  border: none;
  cursor: pointer;
  display: block;
  height: 34px;
  overflow: hidden;
  padding: 0;
  text-indent: -9999px;
  width: 34px;
}

#sidebar {
  padding-bottom: 30px;
  padding-top: 25px;
}
.comment {
  border-bottom: 1px solid #ebebeb;
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
}
#comments h2 {
  margin: 40px 0 16px 0;
}
#comments h3 {
  margin: 0 0 5px 0;
}
#comments .user-picture {
  float: left;
}
#comments .user-picture img,
.comment .user-picture img {
  border: 1px solid #ebebeb;
  float: left;
  margin: 0 20px 15px 0;
  padding: 4px;
}
.comment-form .filter-wrapper {
  display: none;
}