/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/* Other */
.text-red {
	color: #eb5031;
}


/* Icons */


/* mobile */
.show-mobile {
	display: none;
}

@media (max-width: 768px) { 
	.show-mobile {
		display: block;
	}
}


/* Brand list with Pods */
.brand-list {
	display: block;
	height: auto;
	width: 100%;
}
.brand-item {
	display: inline-block;
	width: 31%;
	min-height: 180px;
	border: 1px solid #3f3f3f;
	margin: 10px;
	padding: 20px;
	max-width: 400px;
	min-width: 300px;
	vertical-align: top;
	box-shadow: 1px 1px 4px #999999;
}
.brand-featured, .brand-featured h4 {
	font-weight: 700;
}
.brand-item a:link, .brand-item a:visited {
	color: #01326c;
	text-decoration: underline;
}
.brand-item a:hover {
	color: #eb5031;
}
.brand-content {
	
}
.brand-categories {
	font-size: 12px;
}
@media (max-width: 1024px) { 
	.brand-item {
		display: inline-block;
		height: auto;
		width: 33%;
		border: 1px solid #3f3f3f;
		margin: 6px;
		padding: 10px;
	}
}
@media (max-width: 768px) { 
	.brand-item {
		display: inline-block;
		height: auto;
		width: 100%;
		border: 1px solid #3f3f3f;
		margin: 10px;
		padding: 20px;
	}
}


/* Photo squares with caption */
	.photo-grid-block {
		max-width: 360px;
		margin: 0 auto;
	}
	.photo-grid-item {
		background-color: #fefefe;
		background-repeat: no-repeat;
		background-size: contain !important;
		width: 100%;
		padding-bottom: 100%;
		position: relative;
	}
	.photo-grid-item:hover:after {
		content:" ";
		width:100%;
		height:100%;
		background:rgba(0,0,0,0.3);
		position:absolute;
		top:0;
		left:0;
	}
	.photo-grid-content {
		padding: 0 0px;
		width: 100%;
		position: absolute;
		bottom: 0;
    	transform: translateY(0%);
		/*top: 50%;
		transform: translateY(-50%);*/
		z-index: 1;
		opacity: 1;
		transition: opacity 0.4s ease-in-out 0s;
		text-align: center;
		background: rgba(0,0,0,.5)
	}
	.photo-grid-content h4 {
		color: #ffffff;	
		font-size: 20px;
		line-height: 1;
	}
	.photo-grid-content h4:hover {
		color: #ffffff;					
	}
	.photo-parts {
		background:url('/wp-content/uploads/2021/05/home-services-parts-min.jpg');
	}
	.photo-equipment {
		background:url('/wp-content/uploads/2021/05/home-services-equipment-min.jpg');
	}
	.photo-phone-support {
		background:url('/wp-content/uploads/2021/05/home-services-phone-tech-min.jpg');
	}
	
@media (max-width: 1024px) {
	.photo-grid-content h4 {
		font-size: 18px;
		line-height: 1;
	}
}
@media (max-width: 768px) {
	.home-services-boxes {
		text-align: center;
	}
	.photo-grid-block {
		margin: 0 auto;
		max-width: 200px;
	}
	.photo-grid-content h4 {
		font-size: 20px;
		line-height: 1;
	}
}

/* Div vertical align */
.div-wrap {
	display: flex; 
	height: 100%;
}
.div-cell {
	display: inline-block; 
	height: 100%; 
	margin: auto;
	float: left; 
	vertical-align: middle;
}

/* Contact Form 7 */
.cf-form {
	width: 100%;
	display: block;
}
.wpcf7 form.sent .cf-form {
	display: none;
}
.cf-form label {
	display: block;
}
.cf-form-row {
	width: 100%;
	display: block;
}
.cf-form-cell {
	display: inline-block;
	vertical-align: top;
	padding: 2px 0px;
}
.cf-25 {
	width:24%;
}
.cf-33 {
	width: 32%;
}
.cf-50 {
	width: 48%;
}
.cf-75 {
	width: 73%;
}
.cf-100 {
	width: 100%;
}
.uabb-cf7-style input[type=submit] {
    border-style: solid;
    border-width: 0;
    background-clip: border-box;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}
.form-initial  {
	width: 100px !important;
}
.initial-row {
	margin-bottom: 40px;
	padding-top: 10px;
	border-top: 1px solid #cecece;
}
.wpcf7 form.sent .wpcf7-response-output {
    border: none !important;
	border-width: 0px;
	border-color: none;
}
@media (max-width: 992px) {
	.cf-25, .cf-33, .cf-50, .cf-75, .cf-100 {
		width: 100%;
	}
}

/* Locations */
.location-box h3 {
	border-bottom: 4px solid #eb5031;
}


/* Brand Table */
.brand-table table.dataTable {
    border-collapse: separate;
    border-spacing: 0 10px;
}
.brand-table table.dataTable thead th, .brand-table table.dataTable thead td {
    border-bottom: none;
}
.brand-table table.dataTable.no-footer {
    border-bottom: none;
}
.brand-table table.posts-data-table tbody tr {
    background-color: #fafafa;
}
@media (max-width: 992px) {
	.brand-table table.dataTable {
		border-collapse: separate;
		border-spacing: 0 0px;
	}
	.brand-table table.dataTable>tbody>tr.child span.dtr-title {
    	display: none;
	}
}
