/*
Theme Name: Construction Child
Theme URI: http://www.wpcharming.com
Description: Construction Child Theme
Author: WPCharming
Author URI: http://www.wpcharming.com
Template: construction
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpcharming
Tags:two-columns, left-sidebar, right-sidebar, light, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* Header Style Changes REDONE*/

.site-header .header-right-wrap .extract-element .phone-text {
  font-family: unset;
}

.phone-text {
  font-weight: 700 !important;
}

.phone-text a:hover {
  text-decoration: none;
  color: #3c9d45;
}

/* Nav Menu Changes REDONE */

.wpc-menu a {
  padding: 0px 10px 30px;
}

/* Header RTB Widget Area REDONE */
#rtb-header-widget-area {
  background: #efeff0;
  color: #333;
  font-size: 12px;
  padding: 5px 0px;
}

.rtb-widget .row .rtb {
  text-align: center;
}

.rtb-widget .row .rtb p {
  margin: 0;
}

.rtb-widget .row .rtb .fa {
  padding-right: 5px;
}

@media only screen and (min-width: 768px) {
  .rtb-widget .row .rtb {
    width: 33.3333%;
    float: left;
  }
}

/* General Page Area REDONE */

#primary {
  padding-top: 0;
}

.blog #primary,
.single-post #primary {
  padding-top: 40px;
}

h1 {
  color: #3c9d45 !important;
}

.intro-copy {
  font-size: 17px;
  font-weight: 600;
  font-family: Quicksand;
}

@media only screen and (min-width: 1100px) {
  .hero-copy .kt-inside-inner-col {
    max-width: 75% !important;
  }
}
@media only screen and (max-width: 767px) {
  .hero-image {
    min-height: 150px;
  }
  .hero-copy .kt-inside-inner-col {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  h1 {
    font-size: 22px !important;
  }

  h2 {
    font-size: 20px !important;
  }

  h3,
  h4,
  h5 {
    font-size: 18px !important;
  }
}

/* Hidden Elements & Space Saving Elements*/

@media only screen and (max-width: 1100px) {
  .site-header .header-right-wrap .header-widget-mobile {
    top: 72px !important;
  }
  .wpc-menu.wpc-menu-mobile {
    top: 52px !important;
  }

  .alignwide.bust-out-none {
    padding-left: 15px;
    padding-right: 15px;
  }

  #nav-toggle {
    top: 0px !important;
  }
}

@media only screen and (max-width: 991px) {
  .hidden-md {
    display: none;
  }

  .site-header .site-branding {
    margin-bottom: 10px !important;
  }

  .site-header .header-right-wrap {
    padding-bottom: 10px;
  }

  .wpb_content_element {
    margin-bottom: 20px;
  }

  .wpb_wrapper {
    margin-bottom: 10px;
  }

  .title-image {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    max-width: unset;
  }
}

@media only screen and (max-width: 767px) {
  .hidden-sm {
    display: none;
  }
  .site-header .site-branding {
    margin-bottom: 0 !important;
  }

  #nav-toggle {
    top: 5px !important;
  }
}

.breadcrumbs {
  padding: 5px 0;
}
.breadcrumbs i {
  color: #3c9d45 !important;
}
.breadcrumbs span {
  margin-right: 20px;
}

.breadcrumbs a.home span {
  margin-right: 5px;
}

.breadcrumbs a::after {
  right: -4px;
}

.breadcrumbs a::before {
  right: -5px;
}

p.cta {
  color: #3c9d45;
  font-size: 26px;
  line-height: 1.2em;
}

/* Buttons REDONE*/

.wp-block-button__link,
.frm_button_submit {
  border: none;
  transition: all 0.5s !important;
  font-family: unset;
  text-transform: unset;
  font-weight: 400;
  background-color: #3c9d45;
  text-decoration: none !important;
  border-radius: 3px !important;
  font-size: 14px !important;
  padding: 11px 18px 13px 18px;
}

.wp-block-button__link:hover,
.frm_button_submit:hover {
  background-color: #1d6e43 !important;
}

.is-style-outline .wp-block-button__link {
  border-color: #999;
}

.is-style-outline.btn-on-dark .wp-block-button__link {
  border-color: #fff;
}

.is-style-outline .wp-block-button__link:hover {
  background-color: #999 !important;
  color: #fff;
}

.is-style-outline.btn-on-dark .wp-block-button__link:hover {
  background-color: #fff !important;
  color: #222 !important;
}

.border-button .wp-block-button__link {
  border: 1px solid #ffffff;
}

/* Product Blocks*/
.product-block {
  background: #f2f7f9 !important;
  margin-bottom: 25px;
}

.product-block .wp-block-image {
  background-color: #3c9d45;
  margin: 0;
}

.product-block .title-button.wp-block-button .wp-block-button__link {
  transition: all 0.5s !important;
  width: 100%;
  color: #000;
  text-align: left;

  text-transform: unset;
  border-radius: 0 !important;
  margin-top: 0;
  box-shadow: unset;
  font-family: Quicksand;
  font-size: 16px !important;
  font-weight: 500;
  background: unset;
}

.title-button.wp-block-button {
  margin-bottom: 0;
}

.product-block:hover .title-button.wp-block-button .wp-block-button__link {
  background-color: #3c9d45 !important;
  color: #fff;
  padding-top: 20px;
}

.product-block:hover img {
  opacity: 0.5;
  transition: all 0.5s !important;
}

.product-block p {
  padding: 10px 16px;
}

/*cta edits*/

.cta-block .wp-block-button {
  margin-bottom: 0;
}

.cta-block .kt-row-column-wrap {
  padding: unset;
}

.cta-block p,
.cta-block h2 {
  color: #fff;
}

.cta-block .wp-block-button__link {
  background: #fff;
  color: #3c9d45;
  border: none;
}

.cta-block .wp-block-button__link:hover {
  color: #fff;
  border: none;
  background: #1d6e43;
}
.cta-block {
  background-color: unset !important;
  background: #3c9d45; /* Old browsers */
  background: -moz-linear-gradient(
    45deg,
    #3c9d45 0%,
    #7db9e8 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    45deg,
    #3c9d45 0%,
    #7db9e8 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    45deg,
    #3c9d45 0%,
    #7db9e8 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3c9d45', endColorstr='#7db9e8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  border-radius: 5px;
  padding: 15px !important;
  margin-bottom: 50px;
}
@media only screen and (max-width: 767px) {
  .cta-block .wp-block-button.aligncenter {
    text-align: left;
  }
}

/* tabbed content edits REDONE*/

.wp-block-table.aligncenter,
.wp-block-table.alignleft,
.wp-block-table.alignright {
  width: 100%;
}

.wp-block-kioken-tab ul,
ul.checklist {
  list-style: none !important;
  padding: 0 !important;
}

.wp-block-kioken-tab li,
.checklist li {
  padding-left: 2em !important;
}

.wp-block-kioken-tab li:before,
.checklist li:before {
  content: "\f00c";
  font-family: FontAwesome;
  color: #3c9d45;
  display: inline-block;
  margin-left: -2em;
  width: 2em;
}

a.kioken-tabs-buttons-item::before,
a.kioken-tabs-buttons-item + a.kioken-tabs-buttons-item::before {
  content: "\f05a" !important;
  padding-right: 5px;
  font-family: FontAwesome;
}

a.kioken-tabs-buttons-item + a.kioken-tabs-buttons-item::before {
  content: "\f085" !important;
}

/* lightbox edits*/
#swipebox-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.color-key {
  border-left: 25px solid #bfe169;
  padding-left: 10px;
}

.color-key:nth-of-type(2) {
  border-left: 25px solid #fdbc46;
}

@media only screen and (max-width: 767px) {
  .color-key {
    width: 50%;
    float: left;
  }
}

/* form edits*/
.frm_forms fieldset {
  border: none;
  padding: 0;
}

.checkbox input[type="checkbox"] {
  position: static;
}

.frm_primary_label {
  font-weight: 700;
  padding-bottom: 10px;
  padding-top: 20px;
  color: #3c9d45 !important;
  font-family: Quicksand;
}

.frm_section_heading {
  padding: 20px 0;
  border-top: 1px solid #ccc;
  margin: 50px 0;
}

h3.frm_pos_top {
  font-weight: 700;
}

.frm_error,
.frm_required {
  color: red;
}

/* back to top button*/
#btt {
  border-radius: 50px;
  background: none repeat scroll #3c9d45;
  border: none;
  color: #fff;
  bottom: 90px;
}

/* header contact info*/

@media only screen and (max-width: 1100px) {
  .site-header .header-right-wrap .header-widget {
    display: block;
    float: none;
    padding-right: 20px;
  }
  .site-header .header-right-wrap {
    padding-bottom: 0;
  }

  .site-header .site-branding {
    height: 33px !important;
    max-width: 30%;
  }
  .site-header .site-branding a img {
    height: 33px !important;
    width: auto;
  }

  .header-social {
    font-size: 10px;
    margin-right: 5px;
  }

  .site-header .header-right-wrap .extract-element {
    line-height: 1.5;
  }
}

@media only screen and (max-width: 767px) {
  .site-header .header-right-wrap .extract-element .phone-text {
    font-size: 14px !important;
  }
  .header-text {
    display: none;
  }
  .site-header .header-right-wrap .header-widget {
    float: right;
  }
  .site-header .header-right-wrap {
    padding-bottom: 20px;
  }
  .site-header .header-right-wrap .extract-element {
    margin-top: 5px;
    margin-right: 5px;
  }
}

/* 404 */
.error-action .error-home {
  background: #3c9d45;
  color: #fff;
}

.error404 #rtb-header-widget-area {
  display: none;
}
.heading-404,
.error-box h3 {
  font-family: Quicksand;
  letter-spacing: unset;
}

.page-entry-title {
  font-size: 35px;
  line-height: 45.5px;
  color: #3c9d45;
  clear: both;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  font-family: "Quicksand";
  font-weight: 700;
}

.frm12,
.frm_full,
.frm_full .wp-editor-wrap,
.frm_full input:not([type="checkbox"]):not([type="radio"]):not([type="button"]),
.frm_full select,
.frm_full textarea {
  margin-bottom: 10px;
}

.frm_submit .frm_button_submit.frm_final_submit {
  color: #ffffff;
  width: 100%;
  margin-top: 20px;
}

/* post update fixes (9/3/21) */
.wp-block-button.aligncenter {
  text-align: center;
}

#cookie-law-info-again {
  background-color: #222 !important;
  color: #fff !important;
  box-shadow: none;
  border-radius: 3px 3px 0 0;
}

.frm_forms input,
.frm_forms textarea {
  width: 100%;
}

.frm_forms .frm_checkbox input {
  width: unset;
}

.frm_remove_form_row.frm_button {
  color: red;
}

#secondary {
  line-height: 1.3em;
}

#secondary .widget_kioken_posts .media.mb-4 {
  min-height: 50px;
  margin-bottom: 20px;
}

#secondary .widget_kioken_posts .widget-thumb.mr-3 img {
  max-width: 50px;
  float: left;
  margin-right: 10px;
}



/* blog footer widget styles */
.blog-footer-widet {
  margin-bottom: -1rem;
}

.blog-footer-widget a {
  display: block;
  flex: 100% 1 0;
  margin-bottom: 1rem;
}

@media only screen and (min-width: 576px) {
  .blog-footer-widget a {
    flex: 75% 0 1;
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (min-width: 768px) {
  .blog-footer-widget a {
    flex: calc(50% - 1rem) 0 1;
    margin-right: 1rem;
  } 
  .blog-footer-widget a:nth-of-type(even)  {
    flex-basis: 50%;
    margin-right: 0 !important;
  }
}
button.blog-widget__button {
  background-color: #3c9d45;
  border: solid 2px #3c9d45;
  border-radius: 0 0 4px 4px !important;
  color: #ffffff;
  padding: 0.25rem 1.25rem 0.15rem 1.25rem;
  transition: all 0.25s ease;
  width: 100%;
}

a:hover button.blog-widget__button,
button.blog-widget__button:hover {
  background-color: white;
  color: #3c9d45;
}

.d-flex {
  display: flex !important;
  flex-wrap: wrap;
}
.align-items-center {
  align-items: center !important;
}
.justify-content-center {
  justify-content: center !important;
}

.py-8 {
  padding-top:calc(.25rem * 8);
  padding-bottom: calc(.25rem * 8);
}

@media only screen and (min-width: 768px) {
  .py-md-12 {
    padding-top: calc(.25rem * 12);
    padding-bottom: calc(.25rem * 12);
  }
}

@media only screen and (min-width: 992px) {
  .py-lg-16 {
    padding-top: calc(.25rem * 16);
    padding-bottom: calc(.25rem * 16); 
  }
}

.img-block {
	border-radius: 4px 4px 0 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.img-block .bg-box {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 0;
	min-height: 100%;
	padding-bottom: 65%;
	transition: all 0.25s ease;
	width: 100%;
}

.img-block:before {
	background-color: rgba(0, 0, 0, 0.5);
	content: '';
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transition: all 0.25s ease;
	width: 100%;
}

.img-block:after {
	align-items: center;
	background-color: #3c9d45;
	border: none;
	border-radius: 50%;
	content: '\f178';
	color: #ffffff;
	display: flex;
	font-family: 'Font Awesome 5 Pro';
	font-size: 1.25rem;
	font-weight: 300;
	height: 45px;
	justify-content: center;
	left: 50%;
	opacity: 0;
	position: absolute;
	top: 0%;
	transform: translate(-50%, -50%);
	transition: all 0.25s ease;
	width: 45px;
}

a:hover .img-block:before {
	opacity: 1;
}

a:hover .img-block:after {
	opacity: 1;
	top: 50%;
}

