/*
Theme Name: Wordpress Hennigan Engineering
Theme URI: http://p1ws.com
Description: A foundation based wordpress theme by P1WS.
Version: 1.0
Author: P1WS
Author URI: http://p1ws.com
*/


/* Viewport resizing */
@viewport {
	width: auto; // auto | device-width | length | percentage

	// 'width' sets both max and min-width. It's a shorthand descriptor.
	max-width: auto;
	min-width: auto;

	// 'zoom' equates to 'initial-scale' in meta tag.
	// Values of 1.0 or 100% mean no zoom.
	zoom: auto; // auto | number | percentage

	max-zoom: 5; // Largest allowed zoom factor.
	min-zoom: 0.25; // Smallest allowed zoom factor.

	// Can the zoom factor be changed by user interaction?
	// Equates to 'user-scalable' in meta tag.
	user-zoom: zoom; // fixed | zoom

	// Lock orientation or leave to auto.
	orientation: auto; // auto | portrait | landscape

}
@-webkit-viewport { width: device-width; zoom: 1.0; }
@-moz-viewport    { width: device-width; zoom: 1.0; }
@-ms-viewport     { width: device-width; zoom: 1.0; }
@-o-viewport      { width: device-width; zoom: 1.0; }
/* @viewport         { width: device-width; zoom: 1.0; } */


/* ======================================== *\
	Body ($body)
\* ======================================== */

body {
	background-color: #b9b9b9;
}

/* ======================================== *\
	Fonts ($fonts)
\* ======================================== */

@font-face {
    font-family: 'bebas_neueregular';
    src: url('BebasNeue-webfont.eot');
    src: url('BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
         url('BebasNeue-webfont.woff') format('woff'),
         url('BebasNeue-webfont.ttf') format('truetype'),
         url('BebasNeue-webfont.svg#bebas_neueregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

h1 {
  font-family: 'bebas_neueregular', arial;
  font-size: 30px;
  color: rgb( 176, 0, 0 );
}

h2 {
  font-family: 'bebas_neueregular', arial;
  font-size: 18px;
  color: rgb( 176, 0, 0 );
}

p {
  font-size: 0.9em;
  font-family: "Arial";
  color: rgb( 0, 0, 0 );
}

/* h1, h2, h3, h4, h5, h6{ font-family: sans-serif; font-weight: 300;} */

/* ======================================== *\
	Header ($header)
\* ======================================== */


#header_phone {
	float: right;
    clear:right;
	position: relative;
	left: 20px;
	right: 100px;
	overflow: hidden;
	width: 200px;
	height: 25px;
	display: block;
	margin-top: 30px;
}

@media only screen and (max-width:  640px) {
#header_phone {
	text-align: center !important;
	float: none;
	padding-left: 62px;
	padding-top: 5px;
  }
}

#header_fax {
	float: right;
	clear:right;
	position: relative;
	left: 20px;
	right: 100px;
	overflow: hidden;
	width: 200px;
	height: 20px;
	display: block;
}


@media screen and (max-width: 640px) {
#socials {
    text-align: center !important;
    float: none !important;
    padding-left: 62px;
    padding-top: 5px;
    left: 20px !important;
	font-size: 44px !important;
}
#header_fax {
	display:none;
}
}

.phone {
  font-size: 20px;
  font-family: "bebas_neueregular";
  color: rgb( 94, 95, 86 );
  line-height: 1.2;
 /* text-align: right; */
  position: absolute;
  /*left: 876.938px;
  top: 62.338px;
  z-index: 126;*/
}

@media screen and (max-width: 640px) {
.phone_number {
	padding-left: 47px !important;
}
}



.phone_number {
  font-size: 20px;
  font-family: "bebas_neueregular";
  color: rgb( 176, 0, 0 );
  line-height: 1.2;
 /* text-align: right; */
  position: absolute;
  /*left: 932.937px;
  top: 57.337px;
  z-index: 125;*/
}

.siteinfo /* h1{ font-weight: 800; } */
{
	width: 200px;

}

/* ======================================== *\
	Layout ($layout)
\* ======================================== */

.more-link{
	white-space: nowrap;
}

p.attribution{
	text-align: right;
}

article.post{
	margin-bottom: 18px;
	border-bottom: 1px solid #E6E6E6;
}

header .menu-action {
    float: left;
    margin-top: 0;
    position: relative;
    top: 1px;
}

header .menu-action .button.small {
        padding: 12px 0px 28px 9px;
    margin: -5px 0px -15px 22px;
}

header .menu-action .button.small svg {
    opacity: 0.5;
}

.mobile-nav-container {
	margin-left: -200%;
	float: left;
	width: 55%;
	position: absolute;
	top: 150px;
}

.active .mobile-nav-container {
	display: block;
	margin-left: 0;
}

.active #main {
	margin-left: 55%;
}

.mobile-nav-container,
#main{
	-moz-transition: all 0.25s ease-in 0s;
}

.side-nav {
	height: auto;
}

ul.tabs.vertical {
    border-bottom: 1px solid #E6E6E6;
    height: auto;
}

ul.tabs {
    border-bottom: 1px solid #E6E6E6;
    display: block;
    height: 40px;
    margin-bottom: 20px;
    padding: 0;
}

ul.tabs.vertical li {
    border-left: 3px solid #CCCCCC;
}

ul.tabs.vertical li, ul.tabs.vertical li {
    float: none;
    height: auto;
}

ul.tabs li:first-child {
    margin-left: 0;
}

ul.tabs li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
}

ul.tabs.vertical li a {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #F2F2F2;
    border-color: #E6E6E6;
    border-style: solid;
    border-width: 1px 1px 0 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    color: #555555;
    display: block;
    font-size: 18px;
    height: auto;
    line-height: 1;
    padding: 15px 20px;
}

ul.tabs li a {
    color: #6F6F6F;
    display: block;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    padding: 0 23.8px;
}

/* post styling */

#main p.meta {
	font-style: italic;
	color: #808080;
}

div[id*='attachment_'] {
	max-width: 100%;
	height: 100%;
}

#credit320{
	background: url('images/320press_mini.png') no-repeat left top transparent;
	padding-left: 20px;
	display: inline !important;
}

#main article img{
	max-width: 100%;
	margin-bottom: 18px;
}

h1.single-title{
	line-height: 1.1;
}

img.alignleft{
	margin-right: 10px;
	float: left;
}

img.alignright{
	margin-left: 10px;
	float: right;
}

img.aligncenter{
	display: block;
	margin: 0 auto;
}

p.tags a:hover{
	color: #a5a5a5;
}

video {
	max-width: 100%;
	height: auto;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}

pre {
    background-color: #F5F5F5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: block;
    font-size: 12px;
    line-height: 18px;
    margin: 0 0 18px;
    padding: 8.5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

code {
    color: rgba(0, 0, 0, 0.75);
    padding: 1px 3px;
}

code, pre {
    font-family: Monaco,Andale Mono,Courier New,monospace;
    font-size: 12px;
	padding: 5px 15px;
}

/* featured posts slider */

#featured{
	border: 1px solid #E6E6E6;
}

#featured div{
	padding: 0 15px;
}

#featured h3{
	margin-top: .2em;
	padding-left: .05em;
}

#featured p{
	padding-left: .1em;
}

#featured h3,
#featured p{
	width: 100%;
}

/* page styling */

.page-template-page-homepage-php #main {
	border-bottom: none;
}

/* comments */

#comments{
	line-height: 3.1rem;
	margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children{
	list-style-type: none;
	margin-left: 0;
}

ol.commentlist div.avatar{
	float: left;
	margin-right: 10px;
}

ol.commentlist time{
	font-size: .8em;
	color: #eeeeee;
}

ol.commentlist div.comment-author{
	position: relative;
}

.panel ol.commentlist a.comment-edit-link{
	color: #ffffff;
	text-decoration: none;
}

ol.commentlist span.edit-comment{
	position: absolute;
	right: 1.5em;
	top: 0;
}

.comment h4{
	margin-bottom: 0;
}

a.comment-reply-link{
	position: absolute;
	right: 1.5em;
	bottom: 0;
}

#cancel-comment-reply{
	padding-left: 20px;
}

#comment-nav ul{
	list-style-type: none;
	margin: 0;
}

#comment-form-elements{
	list-style-type: none;
	margin: 0;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img{
	max-width: 100%;
}

li.next{
	text-align: right;
}

#sidebar1 .metadata,
#sidebar1 .caption{
	padding-bottom: 20px;
}

/* widget styles */

.widget{
	margin-bottom: 18px;
}

.widget li{
	margin-bottom: 2px;
}

.widget ul.children{
	margin-bottom: 0;
}

.widget ul.children li{
	margin-left: 9px;
}

#tag-cloud{
	margin-bottom: 18px;
}

a[class^='tag-link-']:hover{
	color: #f0f0f0;
}

@media only screen and (min-width: 768px) {
	ol.commentlist div.avatar{
		margin-right: 0;
	}

	#main{
		border-bottom: none;
	}

	#featured h3{
		margin-top: 2em;
		padding-left: 2em;
	}

	#featured p{
		padding-left: 4em;
	}

	#featured h3,
	#featured p{
		width: 66%;
	}
}

@media only screen and (min-width: 940px) {
	/* desktop specific styles */

	#main{
		margin-bottom: 0;
	}

	ol.commentlist div.avatar{
		margin-right: 0;
	}

}

/* ======================================== *\
	Nav ($nav)
\* ======================================== */

.nav {
  font-family: 'bebas_neueregular', arial;
  font-size: 19px;
  text-align: center;
  display: block;
  color: #ffffff;
  font-weight: normal;
}

.nav a {
  font-family: 'bebas_neueregular', arial;
  color: #ffffff;
}

.nav a:hover {
	color:#fff;
}

#top-header .nav {
	height: 40px;
	background: #b00000;
	margin-bottom: 0px;
}

#top_header_wrapper {
	float: none;
}

@media only screen and (max-width:  768px) {
#logo {
	text-align: center;
	width: 100% !important;
	float: none;
    padding-left: 2.4rem;
    padding-right: 1rem;
  }
}

ul.flyout li {
	position: relative;
}

/* ======================================== *\
	Sidebar ($sidebar)
\* ======================================== */

.products_image {
  background-image: url("deadweight-tester.png");
  position: absolute;
  left: 856px;
  top: 531px;
  width: 192px;
  height: 189px;
  z-index: 44;
}

.our_products {
  font-size: 15px;
  color: rgb( 102, 102, 102 );
  line-height: 0.88;
  position: absolute;
  left: 846.855px;
  top: 509.688px;
  z-index: 42;
}

.products_text {
  font-size: 13px;
  font-family: "Arial";
  color: rgb( 102, 102, 102 );
}

.products_text a {
	text-decoration: underline;
}

.header-nav-button {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b00000), color-stop(1, #b00000) );
	background:-moz-linear-gradient( center top, #b00000 5%, #b00000 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b00000', endColorstr='#b00000');
	background-color:#b00000;
	-webkit-border-top-left-radius:0px;
	-moz-border-radius-topleft:0px;
	border-top-left-radius:0px;
	-webkit-border-top-right-radius:0px;
	-moz-border-radius-topright:0px;
	border-top-right-radius:0px;
	-webkit-border-bottom-right-radius:0px;
	-moz-border-radius-bottomright:0px;
	border-bottom-right-radius:0px;
	-webkit-border-bottom-left-radius:0px;
	-moz-border-radius-bottomleft:0px;
	border-bottom-left-radius:0px;
	border:1px solid #b00000;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	height:33px;
	line-height:30px;
	width:36px;
	text-decoration:none;
	text-align:left;
	border-left-width: 10px;
}

.sidebar-button {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b00000), color-stop(1, #b00000) );
	background:-moz-linear-gradient( center top, #b00000 5%, #b00000 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b00000', endColorstr='#b00000');
	background-color:#b00000;
	-webkit-border-top-left-radius:0px;
	-moz-border-radius-topleft:0px;
	border-top-left-radius:0px;
	-webkit-border-top-right-radius:0px;
	-moz-border-radius-topright:0px;
	border-top-right-radius:0px;
	-webkit-border-bottom-right-radius:0px;
	-moz-border-radius-bottomright:0px;
	border-bottom-right-radius:0px;
	-webkit-border-bottom-left-radius:0px;
	-moz-border-radius-bottomleft:0px;
	border-bottom-left-radius:0px;
	border:1px solid #b00000;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	height:30px;
	line-height:30px;
	width:200px;
	text-decoration:none;
	text-align:left;
	border-left-width: 10px;
}

.sidebar-button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b00000), color-stop(1, #b00000) );
	background:-moz-linear-gradient( center top, #b00000 5%, #b00000 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b00000', endColorstr='#b00000');
	background-color:#b00000;
}

.sidebar-button:active {
	position:relative;
	top:1px;
}

.button_raq {
	-moz-box-shadow:inset 0px 50px 0px -15px #b54b3a;
	-webkit-box-shadow:inset 0px 50px 0px -15px #b54b3a;
	box-shadow:inset 0px 50px 0px -15px #b54b3a;
	background-color:#610000;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:10px 40px;
	text-decoration:none;
}

.button_raq a {
		color:#ffffff;
}

.button_raqhover {
	background-color:#b00000;
}

.button_raq:active
{
	position:relative;
	top:1px;
}


/* ======================================== *\
	Footer ($footer)
\* ======================================== */

#footer {
	background-color: #cccccc;
	bottom: -120px;
	height: 120px;
	position: absolute;
	left: 0px;
	right: 0px;
	width: 100%;
    padding-top: 10px;
}

.footer_logo {
  background-image: url("images/footer-logo.png");
  opacity: 0.71;
  float:right;
/*  padding-right: 20px; */
}

.footer_nav {
  padding-right: 20px;
  font-size: 12px;
  font-family: "Arial";
  color: rgb( 102, 102, 102 );
  font-weight: bold;
  text-align: right;
  float: right;
}

.footer_nav a {
  font-size: 12px;
  font-family: "Arial";
  color: rgb( 176, 0, 0 );
  font-weight: bold;
  text-align: right;
}

.footer_nav a:hover {
  font-size: 12px;
  text-decoration: underline;
  font-family: "Arial";
  color: rgb( 176, 0, 0 );
  font-weight: bold;
  text-align: right;
}

.footer_address {
  font-size: 12px;
  font-family: "Arial";
  color: rgb( 102, 102, 102 );
  font-weight: bold;
  text-align: left;
  padding-left: 20px;

}

.footer_sitemap {
  padding-left: 20px;
  font-size: 12px;
  font-family: "Arial";
  color: rgb( 102, 102, 102 );
  font-weight: bold;

  text-align: left;
  position: absolute;
  z-index: 11;
}

.footer_sitemap a {
	text-decoration: underline;
}

/* ======================================== *\
	Media ($media)
\* ======================================== */

@media screen and (max-width: 640px) {
.footer_nav {
	display:none;
}
}

@media screen and (max-width: 640px) {
.metaslider-53 {
	padding-top: 15px;
}
}

@media screen and (max-width: 640px) {
.nivo-caption {
	display:none !important;
}
}

.widget-text {
	font-size: 0.9em;
}

.search-submit {
	background-color: #b60000;
	color: #fff;
	font-size: .9em;
	border: #000;
	padding: 5px;
	margin-bottom: 10px;
}

#socials {
    float: right;
    clear: right;
    position: relative;
    left: 93px;
    right: 100px;
    overflow: hidden;
    width: 200px;
    font-size: 33px;
    margin-top: 4px;
}

#breadcrumbs {
margin-top: 20px;
}
/*.search-field-search {
	width: 186px;
	height: 14px;
	float: left;
}*/
