/*
Theme Name: Lone Star Environmental
Author: EFishinsea Web Development
Author URI: https://efishinsea.com/?lsectx.com
Description: This is a child theme for The7 built for LSEC
Version: 1.0.0
Template: dt-the7
*/

/* standard html elements */
html {
  scroll-behavior: smooth;
}

body,a,p,h1,h2,h3,h4,h5,h6,li,input, .menu-text {

}

* {
	box-sizing: border-box;
}

a, a:visited{
	color: #1E844B;
	text-decoration:none;
}
a:hover,  a:active  {
	color: #1e844b;
	text-decoration:none;
}

ul.col3 {
	margin-top:15px;
	column-count: 3;
}
ul.col2 {
	margin-top:15px;
	column-count: 2;
}



/* handle 404 pages */

body.error404 {
	height: 100%;
}

body.error404 {
	min-height: 100vh;
	background:	linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)),url('images/bg/bg-404.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

body.error404 .masthead.shadow-decoration:not(.side-header-menu-icon):not(#phantom):not(.masthead-mobile-header) {
  box-shadow: none !important;
}
body.error404.transparent .masthead:not(.side-header):not(.sticky-on) ,
body.error404 .masthead:not(.mixed-header),
.error404 .page-title,
body.error404  #page {
  background: transparent !important;
}
.error404 .page-title-head,
.error404 .custom-global-footer-wrapper {
	 display:none;
}

.error404 .page-title.solid-bg.bg-img-enabled{
	background: transparent !important;
}

.error404  .page-title.overlay-bg::after{
  background: rgba(0,0,0,0.0) !important;
}


body.error404 .content {

}
body.error404 h1,
body.error404 .post {
	color:#fff !important;
	text-shadow: 0 0 4px #000;
}




.vc_row.inner-wrap {
	max-width:1500px;
	margin: 0 auto;
}

p {
  margin-bottom: 25px;
  line-height: 28px;
}



.rtl {
 direction: rtl;
}
.clear {
    clear:both;
}

hr {
    border: none;
    height: 1px;
    /* Set the hr color */
    color: #A7C82C;
    background-color: #A7C82C;
    margin-bottom: 15px;
}

.uppercase,
.uppercase * {
	text-transform:uppercase;
}
.lowercase,
.lowercase * {
	text-transform: lowercase;
}
.capitalize,
.capitalize * {
	text-transform: capitalize;
}

/* anchor tags */
a:hover {
	text-decoration:none;
}
.white a {

}


/* color classes, hovers, shadows  */

.white > *,.white, .white a,.white h1,.white h2,
.white h3,.white h4,.white h5,.white h6,
.footer .textwidget .footer-address a {
	color:#fff;
}


.shadow {
	text-shadow: 0 0 5px #000;
}
.hover-shadow:hover,
.box-shadow {
	box-shadow: 5px 5px 50px #666;
}

.cursor:hover {
	cursor:pointer;
}

.hover > div:hover {
	opacity:.8;
}

.hover .fa {
	opacity:.8;
}
.hover .fa:hover {
	opacity:1;
}


/* overlay search topbar widget */
.overlay-search-microwidget.open .searchform.mini-widget-searchform {
	max-width: 85%  !important;
	width: 800px !important;
}
.overlay-search-microwidget.open .searchform-s {
	padding: 12px 12px;
	font-size: 18px;
	line-height: 200%;
	color: #000;
	border-radius: 5px;
	width: 80%;
}
.overlay-search-microwidget input[type="text"] {
	padding: 10px 25px !important;
	font-size: 18px !important;
	width: 800px !important;
	max-width: 100% !important;
	background:#fff !important;
	color:#312D28 !important;
}


.overlay-search-microwidget .search-icon i {
	font-size: 24px !important;
	color:#312D28 !important;

}
.overlay-search-microwidget .search-icon i:hover {
	color:#1E844B !important;
}

.overlay-search .submit i,
.masthead .mini-search {
	color:#312D28 !important;
}
.overlay-search .submit i:hover,
.masthead .mini-search:hover {
	color:#312D28 !important;
}





.branding a img,
.mobile-branding a img  {
	-webkit-transition: -webkit-transform .7s ease;
	transition: transform .7s ease;
}
.sticky-on .branding a img {
/*-webkit-transform: scale(.8);	transform: scale(.8); */
}



/* Quotes */
blockquote:not(.shortcode-blockquote):not(.elementor-blockquote),
blockquote.shortcode-blockquote.block-style-widget,
blockquote {
    position: relative;
    padding-left: 50px;
    font-style: italic;
    color: #333;
    background:#D1DDCB !important;
    background-color:#D1DDCB !important;
}

blockquote p {
    margin: 0;
    font-size:26px;
    font-weight:500;
    line-height:1.2;
	padding-left: 35px;
}

/* Large left quote mark */
blockquote p::before {
    content: "\201C"; /* same as “ */
    position: absolute;
    left: -10px;
	top: -15px;
  	font-size: 8rem;
    line-height: 1;
    color: #312D28;
    font-family: Georgia, "Times New Roman", Times, serif;
}




.overlay-search .submit i {
	transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-ms-filter: "FlipH"; /* IE6-9 */
	filter: FlipH; /* IE6-9 */
}

.overlay-search .submit i {
  font-size: 16px;
  color: #000;
  padding: 14px 14px 14px 14px;
  border-radius: 5px;
}




.clickable .nt_button_wrap {
	padding:0px 15px;
}


/* FOOTER */

.copyright,
.sub-footer-links a {
	font-size:12px;
	color:#fff;
}
.sub-footer-links a:hover {
	color:#1E844B;
}


/* Custom Global Footer */

.custom-global-footer-wrapper {
    position: relative !important;
    width: 100vw !important; /* full viewport width */
    left: 0 !important; /* reset offsets */
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}
.custom-global-footer-wrapper .vc_row, .custom-global-footer-wrapper .wpb_row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;

    left:unset !important;
    padding: 40px 4% 34px;
}
/* wonky footer column adjustments */
.custom-global-footer-wrapper .wpb-content-wrapper .wpb_row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.fc1 { flex: 1.4; }
.fc2 { flex: 1.5;  }
.fc3,.fc4,.fc5,.fc6 { flex: .9;   min-width: max-content;}


@media (max-width: 991px) {
    .custom-global-footer-wrapper .wpb-content-wrapper .wpb_row {

    }

    .custom-global-footer-wrapper .wpb-content-wrapper .wpb_row > * {
        flex: 1 1 calc(50% - 30px);
    }
}


@media (max-width: 600px) {
    .custom-global-footer-wrapper .wpb-content-wrapper .wpb_row > * {
        flex: 1 1 100%;
    }
}

.custom-global-footer-wrapper .vc_column-inner > .wpb_wrapper {
    max-width: 1300px ;
    margin: 0 auto;
}
@media (min-width: 768px) {
	.custom-global-footer-wrapper .vc_column-inner > .wpb_wrapper {
		max-width: 1300px;
		margin: 0 auto;
		padding-left: 25px;
		padding-right: 25px;
	}
}

.custom-global-footer-wrapper .upb_row_bg {
	box-shadow: 0 -20px 90px -10px rgba(0, 0, 0, 0.25);
}

.custom-global-footer-wrapper .dt-shortcode-soc-icons a.single-soc-icon-ef2d3e382c0484b7833de7b5e76a9688 .soc-icon,
.custom-global-footer-wrapper .dt-shortcode-soc-icons a.single-soc-icon-2e896392a6d37aab46ae95d928f3d181 .soc-icon {
	padding-left: 4px !important;
}

.custom-global-footer-wrapper p,
.custom-global-footer-wrapper li,
.custom-global-footer-wrapper li a {
	font-size: 13px;
	font-family: 'Open Sans', Arial, sans-serif;
	text-decoration: none;
}

.custom-global-footer-wrapper a {
	font-weight: 400;
}
.custom-global-footer-wrapper .lsec-footer-col a:hover {
  color: #A7C82C !important;
  padding-left: 4px;
}

.custom-global-footer-wrapper .footer-cta-gap {
	position: relative;
	z-index: 2;
	min-height: 0px;
	height: 0px;
	background:#312D28;
	padding-top: 150px;
}

.custom-global-footer-wrapper .footer-cta {
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	border-color:#D1DDCB;
	background: #D1DDCB;
	position: relative;

	margin-bottom: 50px;
	z-index: 2;
	border-radius: 10px;
	box-shadow: 0 -5px 30px -5px rgba(0, 0, 0, 0.09),
		-5px 0 10px -5px rgba(0, 0, 0, 0.09),
		5px 0 10px -5px rgba(0, 0, 0, 0.09);

}

.custom-global-footer-wrapper .footer-cta h2 {
	font-size: 4rem;
	line-height: 1.2;
}
@media (max-width: 992px) {
	.custom-global-footer-wrapper .left-then-center {
		text-align:center;
	}
}
@media (max-width: 767px) {
	.vc_row.wpb_row.lower-table {
		padding-top: 550px !important;
	}
}
@media (max-width: 580px) {
	.vc_row.wpb_row.lower-table {
		padding-top: 700px !important;
	}
}
@media (max-width: 360px) {
	.vc_row.wpb_row.lower-table {
		padding-top: 850px !important;
	}
}

.custom-global-footer-wrapper .sub-footer .wpb_text_column {
	padding:15px 0px;
}
@media (max-width: 600px) {
	.custom-global-footer-wrapper .sub-footer .sf1 .wpb_text_column {
		padding:20px 0 0 0;
	}
	.custom-global-footer-wrapper .sub-footer .sf2 .wpb_text_column {
		padding:0 0 20px 0;
	}

}

.custom-global-footer-wrapper .sub-footer.vc_row.vc_row-flex > .vc_column_container > .vc_column-inner > * {
	width:100%;
}


/* utility */


.text-center  {
	text-align:center;
}
.rotate90 {
    transform: rotate(90deg);
    display: block;
}
.rotateneg45 {
    transform: rotate(-45deg);
    display: block;
}

.nowrap  {
  word-break: break-word;
}
.hide {display:none;}

.hide-until-break,
.show-on-mobile,
.show-on-med {
	display:none !important;
}

.hide-on-mobile {
	display:block;
}
.hide-on-mobile-inline {
	display:inline-block;
}

.float-right-then-left {
	float:right;
	display:inline-block;
}

.right-then-left,
.right-then-center,
.right-then-center .wpb_single_image.vc_align_center {
	text-align:right;
}
.left-then-right,
.left-then-center {
	text-align:left;
}

.center-content,
.center-then-left,
.center-then-right {
	text-align:center;
}
.swap-on-desktop {
	display: flex !important;
	flex-direction: row-reverse;
}

@media (max-width: 767px) {

	.wpcf7-form input,
	.wpcf7-form select,
	.wpcf7-form textarea {
		height: 50px !important;
		font-size: 16px !important;
		line-height: 20px !important;
		font-weight: bold;
	}

	.center-on-mobile {
		text-align:center !important;
	}

	.swap-on-mobile {
		display: flex !important;
		flex-direction: column-reverse;
	}

	.center-then-left,
	.right-then-left {
		text-align:left;
	}

	.center-then-right,
	.left-then-right {
		text-align:right;
	}

	.left-then-center,
	.right-then-center,
	.right-then-center .wpb_single_image.vc_align_center{
		text-align:center;
	}

	.float-right-then-left {
		float:none;
	}

	.show-on-mobile {
		display:block  !important;
	}

	.hide-on-mobile {
		display:none;
	}
	.big-80 {
		width:100%;
	}


}



@media only screen and (max-width: 576px) {
	.pad-mobile {
		padding: 0 15% 0 0;
	}

}
