/* Portrait tablet to landscape and desktop */
@media (min-width: 1200px) { 
.headerleft .logo img {
	padding-right: 30px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-top: 10px;
}
.headerbg {
	
}
.background-container {
    width: 100%;
	background-image: url(../images/topnavbg.png);
    background-position: center 10px;
    background-repeat: no-repeat;
}
.secondnav {
	text-align: right; 	

}
.secondnav ul{
	margin: 0px;
	padding: 0px;	list-style-type: none;	list-style-position: outside;
padding-right: 15px;

}
.headerleft .span9 {
	padding-top: 32px;
}
.headerleft .span1 {
	padding-top: 32px;
}


.projectholder {
	margin-right: auto;
	margin-left: auto;
	width: 1170px;
}
.navbar ul{
	margin: 0px;
	padding: 0px;

}
.navbar ul.dropdown-menu a{
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-left: 5px;	background-image: none;

}
.navbar ul {

}

.bodycontent {
	padding-top: 460px;
}.maincontent{
	min-height:400px;
	}
	
	.navbar img{
		margin-top: -18px;
	}
	
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 980px) and (max-width: 1199px) { 
.headerbg {
	
}
		body {
	/*background-image: url(../images/bg.gif);
	background-repeat: no-repeat;
	background-position: center -19px;*/
}

.background-container {

    width: 100%;
    left: -160px; /* this must be TWICE the required offset distance*/
    padding-right: 160px; /* must be the same amount as above */

	background-image: url(../images/topnavbg.png);
    background-position: center 10px;
    background-repeat: no-repeat;
}
.headerleft .logo img {
	padding-top: 10px;
}
	.maincontent{
	min-height:400px;
	}
body {

}

.secondnav ul{
	margin: 0px;
	padding: 0px;	list-style-type: none;	list-style-position: outside;
padding-right: 5px;

}
.secondnav {
	text-align: right; 
}
.headerleft .span9 {
	padding-top: 15px;
}
.headerleft .span1 {
	padding-top: 32px;
}
.bodycontent {
	padding-top: 460px;
}
.projectholder {
	margin-right: auto;
	margin-left: auto;
	width: 940px;
}
.navbar ul{
	margin: 0px;
	padding: 0px;
}
.navbar ul.dropdown-menu a{
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-left: 5px;	background-image: none;

}

}

/* Portrait tablet to landscape and desktop */

@media (min-width: 768px) and (max-width: 979px) {

.navbar ul {
	margin: 0px;

}

.headerleft .span9 {
	padding-top: 10px;
}
.headerleft .span1 {
	padding-top: 32px;
}
.headerbg {
	
}
.secondnav {
	text-align: right;
}
.secondnav ul{
	padding: 0px;
	margin: 0px;
}


.projectholder {
	margin-right: auto;
	margin-left: auto;
	width: 724px;
}

.navbar ul{
	margin: 0px;
	padding: 0px;
}.navbar ul.dropdown-menu a{
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-left: 5px;	background-image: none;

}
}

/* Landscape phone to portrait tablet */
@media (max-width: 768px) {

.headerleft .logo img {
	padding-left: 0px;
}

.secondnav ul, .navbar ul{
	padding: 0px;
	margin: 0px;
}
.secondnav ul li {
	display: inline;
	text-align: left;
	margin-right: 10px;
}
.nav {
	line-height: normal;
}
.headerleft {
	padding-top: 0px;
	margin-top: 10px;
	padding-bottom: 0px;
	margin-bottom: 0px;
/*	border-bottom: 1px solid #FFFFFF;
*/}
.secondnav {
	float: left;
	margin-top: 0px;
	padding-bottom: 10px;
/*	border-bottom: 1px solid #FFFFFF;
*/	margin-bottom: 10px;
}

.headerleft .span2 {
}

.headerbg {
}
}

/* Landscape phones and down */
@media (max-width: 480px) {
.blogImageHolder, .noimagehome {
	height: 155px;
	width: 155px;
}
}
/*iPhone 6 in landscape*/
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) 
and (orientation : landscape) { 
.blogImageHolder, .noimagehome {
	height: 143px;
	width: 143px;
}}
/*iPad 1 & 2 in portrait*/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) 
and (-webkit-min-device-pixel-ratio: 1) { .blogImageHolder, .noimagehome {
	height: 133px;
	width: 133px;
} }