

/* Desktop only ----------- */

@media only screen and (min-width: 992px) {

	/* Styles */
	
	/* Primary top level button hover effect */
	#primary-nav > ul > li:hover > a {
	  background: #3c3d42;
	  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	  background: -moz-linear-gradient(top, #3c3d42 0%, #1a191b 100%);
	  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3c3d42), color-stop(100%, #1a191b));
	  background: -webkit-linear-gradient(top, #3c3d42 0%, #1a191b 100%);
	  background: -o-linear-gradient(top, #3c3d42 0%, #1a191b 100%);
	  background: -ms-linear-gradient(top, #3c3d42 0%, #1a191b 100%);
	  background: linear-gradient(to bottom, #3c3d42 0%, #1a191b 100%);
	  /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@top-color', endColorstr='@bottom-color', GradientType=0); */
	  border-bottom: #d29747 solid 1px;
	}
	#primary-nav > ul > li.active span {
	  background: url(/images/template/primary-nav-top-indicator.png) center top no-repeat;
	}
	.flex-direction-nav .flex-prev {
    	left: 0;
	}

}

/* Less than Desktop (Everything less than 1000px) ----------- */

@media only screen and (max-width: 991px) {

	/* Styles */

	.desktop-only {display: none !important;}
	.tablet-only {display: block !important;}
	.tablet-phone {display: block !important;}
	
	.site-container {width: 768px; padding: 0 10px;}
	
	/* Clear Multi-Columns */
	.col-two #main-content,
	.col-three #main-content,
	#sidebar-right,
	#sidebar-left {float: none; width: auto;}
	
	#sidebar-left {margin-right: 0;}
	
	#content {padding-bottom: 40px;}
	
	/* Header */
	#header .telephone {/*margin-right: -167px;*/}
	
	form#simpleSearchForm {width: 205px;}
	form#simpleSearchForm input#simpleSearch_input {width: 138px;}
	
	/* Primary Navigation */
	#primary-nav {width: 749px; /* 100% */}
	/* #primary-nav > ul ul {margin-left: 4px;} */
	#primary-nav > ul > li > a {padding-left: 8px; padding-right: 8px;}
	#primary-nav #nav-link-15,
	#primary-nav #nav-link-2 {/* position: static; */}
	#primary-nav > ul li#nav-link-15 ul,
	#primary-nav > ul li#nav-link-2 ul {width: 748px;}
	#primary-nav > ul li#nav-link-15 ul {left: -146px;}
	#primary-nav > ul li#nav-link-2 ul {left: -55px;}
	#primary-nav > ul li#nav-link-15 ul li,
	#primary-nav > ul li#nav-link-2 ul li {width: 369px;}
	/* disable hover effect so displays dropdown on tablet */
	#primary-nav > ul > li:hover > a {
		visibility: visible; 
		border-bottom: #010711 solid 1px;
		background: none;
	}
	
	/* Secondary Navigation */
	#secondary-nav {border: #C6C6C6 solid 1px;}
	#secondary-nav ul {display: none;}
	#secondary-nav h3 {font-size: 15px; font-family: Arial, sans-serif;}
	#secondary-nav h3 a {
		position: relative;
		overflow: hidden;
		-webkit-border-radius: 4px 4px 0px 0px;
		border-radius: 4px 4px 0px 0px; 
		border-bottom: #C6C6C6 solid 1px;
		text-align: left; padding: 10px;
		background: #ffffff; /* Old browsers */
		background: -moz-linear-gradient(top,  #ffffff 0%, #d8d8d8 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d8d8d8)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #ffffff 0%,#d8d8d8 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #ffffff 0%,#d8d8d8 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #ffffff 0%,#d8d8d8 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #ffffff 0%,#d8d8d8 100%); /* W3C */
		/* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d8d8d8',GradientType=0 ); IE6-9 */
	}
	/* #secondary-nav h3 a:before {content: 'GO TO '} */
	#secondary-nav h3 a:after {content: ' MENU'}
	#secondary-nav h3 a span {
		position: absolute;
		top: 0; right: 0;
		width: 50px; height: 50px;
		background: url(/images/template/nav-select-indicator-arrows.png) top center no-repeat;
	}
	
	/* Breadcrumbs */
	ul.B_crumbBox {max-width: 95%;}
	
	/* RFQ button */
	#sidebar-right #rfq-btn {font-size: 26px; padding: 12px 5px; margin-bottom: 30px;}
	
	/* Forms */
	#content form#quickContact input[type="submit"] {height: 32px;padding: 7px 19px; font-size: 12px;}
	
	#content form#quickContact h4 {font-size: 25px; padding: 10px 0;}
	#content form input,
	#content form button,
	#content form select,
	#content form textarea,
	#content form .uneditable-input,
	#content form .form-control {height: 32px;}
	
	#content form h4,
	#content form p.disclaimer {text-align: center;}
	
	#content form textarea.form-control {height: 137px;}
	#content form#quickContact textarea.form-control {height: 131px;}
	
	/* Footer */
	#footer #footer-top #foot-top-left {left: 10px; font-size: 11px;}
		#footer #footer-top #foot-top-right {left: 10px; font-size: 11px;}
	#footer #footer-top #foot-top-right {right: 10px;}
	#footer .site-container {padding: 0 10px;}
	#footer .icon {padding: 0; background: none;}
	
	/* Hero Banner */
	#home-banner,
	#home-banner ul.slides li {height: 400px;}
	#home-banner ul.slides li img {min-height: 400px;}
	/*#page-1 #header-wrap {margin-bottom: 220px;}*/
	#home-banner .flex-control-nav {top: 389px;}
	
	/* Home Buckets */
	#buckets-home a {height: 435px;}
	#buckets-home a .img-crop {height: 245px;}
	#buckets-home a span {}
	.texas-img {text-align:center;display:block;margin:30px 0;}
	.projects{text-align:center;}
	
	/* Internal Buckets */
	#buckets {margin-bottom: 20px;}
	
	/* Contact Page */
	#contact-form-wrap {margin-bottom: 20px;}
	#contact-info {margin-bottom: 30px; font-size: 16px;}
	
	/*Texas*/
	.installations {
		margin: 60px 0;	
	}
}

@media only screen and (max-width: 1024px) {
	.flex-direction-nav {
		display:none;	
	}
	.flex-control-nav {
		position:relative;	
	}	
	#buckets-home a .img-crop {
		height: 320px;
	}
	#home-banner ul.slides li {
    	height: 435px;
}
	#home-banner ul.slides li img {
    	min-height: 435px;
}
	/*#page-1 #header-wrap {
    	margin-bottom: 255px;
}*/
	#home-banner .flex-control-nav {
    	top: 418px;
}
}

/* Tablet only ----------- */

@media only screen 
and (min-width: 768px) 
and (max-width: 992px) {

	/* Styles */
	
	.location-map-window {height: 270px}
	.location-map-window img {left: -27px; top: -132px;}
	
	/* Gallery */
	.jcarousel-clip,
	.col-two .jcarousel-clip,
	.col-three .jcarousel-clip {width: 660px; height: 154px;}
	.jcarousel-item img {width: 160px; /* height: 152px; */}
	.jcarousel-prev-horizontal, .jcarousel-next-horizontal {top: 71px;}
	
	/* Buckets */
	#page-38 #buckets .col-sm-6 {width: 100%;}
	#page-38 #buckets a .bkt-content {width: 580px;}
	
	/* Internet Explorer Exceptions */
	.lt-ie9 #buckets-home a {height: 340px;}
	
	#why-choose-comet-signs{height:auto!important;}
	#why-choose-example img {height:auto;width:auto;}
	#why, #why-choose-content{width:100%!important; margin: 0 0 10px 0;}
	#why-choose-example{display:none;}

	img#why-choose-graphic {
  position: relative;
  top: 0;
  left: 0;
  margin: 0 auto;
  display: block;
  padding: 10px;}
  }