/* FRONTEND CSS
*********************************************/
html {
  overflow-y: scroll;
}
body {
  background-color: #FFFFFF;
}
/* LAYOUT
*********************************************/
/* Floats */
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.group:before, .group:after {
  content: "";
  display: table;
}
.group:after {
  clear: both;
}
.ie7 .group {
  zoom: 1;
}

body{
  background:#F7F7F7;
  font-family:Verdana, Geneva, sans-serif;
  font-size:14px;
  color:#666666;
}

.container{
	max-width:1240px;
	margin:0 auto;
}
.topheader{
	min-height:30px;
	background:#666;
}
#mainheader{
	
}
#mainheader p{
  margin:0;
  padding:0;
}
#mainheader .header{
	border:2px solid #666666;
	border-top:none;
	position:relative;
	background-position:left;
	background-repeat:no-repeat;
	background-size: cover;
}

section{
  width:100%;
  height:auto;
  overflow:hidden;
}

 .logo img{
	 width:100%;
  max-width:600px;
  height:auto;
  margin-top:80px;}

}
.logo p{
  margin:0;
  padding:0;
}
 .search{
  text-align:right;
}
#mainbody{
  height:auto;
  min-height:250px;
  overflow:hidden;
  margin-bottom:15px;
  line-height:1.7em;
}
#mainbody img{
  background:#ffffff;
  padding:10px;
  border:#dddddd 1px solid;
}
.breadcrumps{
  width:100%;
  height:30px;
  text-align:right;
  font-size:12px;
}

aside img{
  width:208px;
  height:auto;
}
#content{
padding-top:4px;
  overflow:hidden;
}
.teaser{
  width:100%;
  overflow:visible;
  display:block;
  margin-bottom:20px;
}
article{
}
h1,.moduletable h3,.page-header h2{
  font-size:18px;
  font-weight:100;
  line-height:50px;
  border-bottom:#dddddd 1px solid;
  display:block;
  
}
h1{
  padding-bottom:3px;
}
h5{font-size:14px;}
aside .moduletable{ float:left;width:100%;}
.moduletable h3{
  width:100%;
  border-bottom:#dddddd 1px solid;
}
h2{
  font-size:16px;
  font-weight:bold;
}
h4.newsflash-title,.newsflash p{
  display:block;
  width:100%;
  float:left;
  margin:5px 0;
}
.newsflash h1,.newsflash h2,.newsflash h3{
  display:none;
}
.djslider img{
  background:none !important;
  border:none !important;
  margin-bottom:10px;
}
.slider-container{
  overflow:visible;
  margin:10px 0 !important;
  border:#dddddd 1px solid !important;
  padding-bottom:10px !important;
}
.slider-container ul li{
  padding:11px !important;
  background:#ffffff !important;
  margin:10px 0 !important;
  
}
ul.sigFreeContainer{
	text-align:center;
}
ul.sigFreeContainer li.sigFreeThumb{
	padding:2px;
	float:none;
	display:inline-block;
}
.navigation-container-custom{
  top:310px !important;
}
footer{
  width:100%;
  height:auto;
  position:relative;
  color:#fff;
  text-align:center;
}

footer .inner{
  height:auto;
  min-height:200px;
  border:2px solid #666666;
  border-bottom:none;
  margin:5px auto 0;
}
footer .column-1,footer .column-2,footer .column-3{
  width:300px;
  height:200px;
  padding:10px;
  float:left;
}
footer .column-1 h1{
  font-family:Yanone Kaffeesatz;
  font-size:38px;
  color:#ffffff;
  text-shadow:#333333 1px 1px 2px;
  -moz-text-shadow:#333333 1px 1px 2px;
  -webkit-text-shadow:#333333 1px 1px 2px;
}
.copyright{
	background:#666;text-align:center; line-height:40px;color:#fff;
}
/* BLOG Layout
*********************************************/
.cols-4 .column-1,.cols-4 .column-2,.cols-4 .column-3,.cols-4 .column-4{
  width:24%;
  height:auto;
  float:left;
  margin-left:1%;
  margin-bottom:20px;
  margin-top:10px;
  border-bottom:#dddddd 1px solid;
}
.cols-3 .column-1,.cols-3 .column-2,.cols-3 .column-3{
  width:32%;
  height:auto;
  float:left;
  margin-left:1.5%;
  margin-bottom:20px;
  margin-top:10px;
  border-bottom:#dddddd 1px solid;
}
.cols-3 .column-1{
  margin-left:0.5% !important;
}
.cols-2 .column-1,.cols-2 .column-2{
  width:48%;
  float:left;
  margin:0 1% 0.5%;
}
.pagination li{
  display:inline-block;
  padding:0 3px;
  zoom:1;
  display:inline;
}
.pagination ul{
  width:100%;
  margin:0;
  padding:0;
  float:left;
  text-align:center;
}
p.counter.pull-right{
  width:100%;
  margin:0;
  padding:0;
  float:left;
  text-align:right;
}
.cols-4 ul,.cols-2 ul,.cols-3 ul{
  margin:0 0 0 20px;
  padding:0;
}
.items-row{
  height:auto;
  display:block;
  overflow:hidden;
}
.items-row h1{
  border-bottom:#dddddd 1px solid;
  padding-bottom:10px;
  font-size:18px;
}
.blog h2{
  font-size:16px;
  border-bottom:#dddddd 1px solid;
  padding:10px 0;
}
.navbar .container{padding:0;}
input{
	padding:10px;
}
fieldset,.jblue{border:none;}
/* Media Queries
*********************************************/
/* Retina */
@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
}
/* Landscape phones and down */
@media (max-width: 480px) {
	.container{
	width:100%;
	margin:0 auto;
}
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
.container{
	max-width:680px;
	margin:0 auto;
}
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
	.container{
	max-width:800px;
}
.header{
	min-height:240px;
}
}

/* Large desktop */
@media (min-width: 1024px) {
.header{
	min-height:240px;
}

#background{
  width:100%;
  height:260px;
  border-bottom:5px solid #666666;
  position:absolute;
  z-index:-1000;
}
footer #background{
  width:100%;
  height:160px;
  border-top:5px solid #666666;
  border-bottom:0;
  position:absolute;
  bottom:0;
  z-index:-1000;
}
.container{
	max-width:960px;
}
h1,.moduletable h3,.page-header h2{
  font-size:24px;
}
@media (min-width: 1200px) {
	.container{
	max-width:1180px;
}
}
