/*

Theme Name: Atec
Theme URI: http://redpupmedia.com
Author: Red Pup Media
Author URI: http://redpupmedia.com
Description: A custom theme built for Atec. A child theme to the light version of Integrity, a stack of the theme 'X'.
Version: 1.0.0
Template: x

*/



.x-promo-content {
	display: none;
}
.textwidget h3 {
	margin-top: 0px;
}
.one-fourth h4 {
	margin-top: 0px;
}
.one-fourth h3, one-fourth h4 {
	margin-top: 0px;
}
.relatedproducts {
	padding-right: 4.5%;
}
.relatedproducts .wpb_content_element {
	margin-bottom: 50px;
}
/*
	@media (max-width: 769px) { 
	.relatedproducts {
		display: none;
	}
}
*/
.cap-top figcaption { left: 0; top: 0; }
.cap-top:hover figcaption { top: -30%; }
figure { 
  display: block; 
  position: relative; 
  overflow: hidden; 
  margin: 0px;
}
figcaption { 
  position: absolute; 
  background: rgba(0,0,0,0.5); 
  color: white; 
  padding: 4% 5%; 
  width: 100%;
  font-size: 37px;
  line-height: 1.3;
  text-align: center;
  opacity: 1;
  bottom: 0; 
  left: 0;
  -webkit-transition: all 0.6s ease;
  -moz-transition:    all 0.6s ease;
  -o-transition:      all 0.6s ease;
}

figure:hover figcaption {
  opacity: 0;
  left: 0;
  z-index: -1;
}
.x-dropcap {
	background-color: #008ED4;
}
figure .alignnone {
	margin: 0px;
}

.x-nav .x-megamenu>.sub-menu a {
	padding: 2px 10px;
}
.x-navbar-fixed-top-active .x-nav .x-megamenu>.sub-menu {
	padding: 0px 18px;
}
.x-nav .x-megamenu>.sub-menu>li>a {

	text-decoration: underline;
	cursor: pointer;
}

.x-colophon.bottom {
	color: #fff !important;
	background: #868383;
}
.contacticons .x-li-icon i:before {
	font-size: 50px;
	line-height: 25px;
}
.contacticons .x-li-icon i {
	width: 60px !important;
}
.contacticons .x-li-icon i {
	margin-top: 0px;
}
.contacticons .address {
	padding-left: 40px;
	text-indent: 0px;
	padding-top: 20px;
	line-height: 25px;
}
.contacticons .address h4 {
	margin-top: 0px;
}
.contacticons .address i {
	left: 30px;
	position: absolute;
}
.x-li-icon {
	padding: 10px 0px;
}
.x-breadcrumb-wrap a, .x-breadcrumbs .delimiter, .x-nav-collapse .sub-menu a, .x-navbar .desktop .sub-menu a {
	color: #333 !important;
}
.x-colophon {
	background: #868383;
	border: 0px;
}
.x-colophon.top {
	color: #fff !important;
	padding-bottom: 0px;
}
.x-colophon.top  .gc-cs-link {
	color: #fff;
	text-decoration: none;
}
.x-colophon.top .widget {
	color: #fff !important;
	text-shadow: none !important;
}
.x-colophon+.x-colophon {
	border-top: 0px;
	-webkit-box-shadow: none;
	box-shadow: none;
}
footer #recent-posts-2 ul {
	background-color: #ddd;
}
footer #recent-posts-2 ul li {
	min-height: 50px;
}
footer #recent-posts-2 ul li a {
	float: left;
}
footer #recent-posts-2 ul li span {
	float: right;
	margin: 3px;
}
footer #recent-posts-2 ul li:hover	{
	color: #7a7a7a;
}
.page-id-1027 .popover-content {
	padding: 0px;
}
.x-nav-tabs.two-up>li {
	width: 33.334%;
}

.desktop .x-nav .x-megamenu>.sub-menu>li {
	margin: 0px;
}
.desktop .x-nav .x-megamenu>.sub-menu a {
	padding: 2px 10px;
}
.tp-caption.ATEC_large_white, .ATEC_large_white {
	text-shadow: rgba(0, 0, 0, 0.498039) 0px 2px 5px;
}
.x-social-global a i {
	color: #fff;
}
.x-social-global a i:hover {
	color: #000;
}
.x-colophon.bottom .x-social-global a {
	font-size: 2.7rem;
}
.x-column h4 img {
	margin-bottom: 3px;
}
.single-post .entry-featured {
	display: none;
}
.x-masonry-active .p-meta {
	display: none;
}
.x-navbar-fixed-top-active .desktop .x-nav .x-megamenu>.sub-menu {
	padding: 9px 18px;
}
.desktop .x-nav .x-megamenu.col-3>.sub-menu>li, .desktop .x-nav .x-megamenu.col-4>.sub-menu>li {
	padding: 9px 0px;
}
#atecprocurement .x-btn {
	display: none;
}
#atecprocurement p {
	margin-bottom: 0px;
}
#gallery-1-1554 {
	font-size: 18px;
}
.single-tribe_events .tribe-events-back, .single-tribe_events .tribe-events-sub-nav {
	display: none;
}
.single-tribe_events .hentry, .single-tribe_events .entry-content, .tribe-events-list-widget .hentry {
	margin-top: 0px;
}
.tribe-events-list-widget ol li {
	margin-bottom: 0px;
}
.tribe-events-list-widget .entry-title {
	font-size: 130%;
}
.tribe-events-list-widget .duration {
	font-weight: 100;
}
.wp-caption {
	border: 0px;
	padding: 0px;
	box-shadow: none;
}

.related-products {
  position: absolute;
  color: #fff;
  width: 100%;
  height: 100%;
  font-size: 39px;
  line-height: 1.2;
  padding: 80px 30px;
}
.child-image a {
	display: table; 
	height: 264px; 
	overflow: hidden;
	 background-repeat: no-repeat;
	 margin-bottom: 1.313em;
	   background-position: left center;
}
.child-image .page-title {
  height: 264px;
  text-align: center;
  width: 264px;
  color: #fff;
  font-size: 2.35em;
  background: rgba(0,0,0,.6);
  line-height: 1.3;
	display: table-cell; 
	vertical-align: middle;
		transition: background 0.3s ease;
}
.home .child-image, .home .child-image a, .home .child-image .page-title {
	height: 158px;
}
.home .child-image .page-title {
	font-size: 2.2em;
}
#x-content-band-15 .child-image:nth-of-type(5n) {
	margin-left: 26%;
}

.page-template-template-layout-sidebar-content .child-image:nth-of-type(3n) {
	margin-right: 0px;
}
.page-template-template-blank-4 .child-image:nth-of-type(4n) {
	margin-right: 0px;
}
.child-image a:hover {
	opacity: 1 !important;
	text-decoration: none;
}
.child-image .page-title:hover {
	background: rgba(0,0,0,.3);	
}
@media (max-width: 980px) { 
	.child-image .page-title {
		font-size: 1.3em;
		height: 185px;	
	}
	.child-image a {
	  margin: 5px auto;
	  width: 100%;
	  height: 100%;
	}
}
@media (max-width: 767px) {
	.x-column.x-1-4 {
		width: 100%;
		height: auto;
		padding: 10px;
	}
	.x-column.x-1-3.child-image {
  		width: 100%;
	}
	footer #recent-posts-2 ul li {
    	min-height: 80px;
  	}
	.child-image a { 
    	width: 264px;
  	}
}
@media (max-width: 600px) {
	.x-column.vc.x-1-3.child-image {
		width: 250px;
		padding: 10px;
		display: block;
		float: none;
		margin-left: auto;
		margin-right: auto;
	}
}
@media (max-width: 440px) { 
  .alignleft, .alignright, .alignnone, .aligncenter {
    width:100%;
  }
}
@media print {
	.child-image {
		display: none !important;
	}
	.x-content-band.bg-image {
		display: none !important;
	}
	.x-column.vc.x-1-1 .h-custom-headline.h3.accent span {
		display: none !important;
	}
}
.page .entry-featured {
	display: none;
}
.entry-wrap {
	box-shadow: none;
	padding: 0px;
}
.page-template-template-layout-sidebar-content .x-main {
	width: 74% !important;
}
.page-template-template-layout-sidebar-content .x-sidebar {
	width: 18% !important;
	padding-top: 130px;
}
.widget ul li a {
	border-bottom: 0px;
}

.search .entry-featured {
	  width: 33%;
  float: left;
  padding: 0 10px 10px 0;
}
.x-slider-scroll-bottom.above {
	margin-bottom: 25px;
}

/* Map */
.atecmoon {
	position: absolute;
	right: -60px;
	top: 0;
	width: 160px;
	z-index: 9;
}
#map-4-container {
	width: 100%;
	max-width: 1200px;
}
@media (max-width: 1024px) {
	.atecmoon {
		right: -50px;
		top: -40px;
		width: 110px;
	}
	#js-wpv-addon-maps-render-map-4 {
		height: 480px !important;
	}
}
@media (max-width: 979px) {
	.atecmoon {
		right: -50px;
		top: -60px;
		width: 110px;
	}
	#js-wpv-addon-maps-render-map-4 {
		height: 575px !important;
	}
}
@media (max-width: 800px) {
	.atecmoon {
		right: -20px;
		top: -30px;
		width: 90px;
	}
	#js-wpv-addon-maps-render-map-4 {
		height: 400px !important;
		width: 300px;
		margin: auto;
	}
}
@media (max-width: 400px) {
	.atecmoon {
		right: -20px;
		top: 160px !important;
		width: 60px;
	}
	#js-wpv-addon-maps-render-map-4 {
		height: 235px !important;
	}
}

/* Forms */
.nolabel label {
	display: none !important;
}
.nolabel .showlabel label {
	display: inline-block !important;
}