/*
Theme Name:   Pestrol
Description:  Child theme of HT Guardian for the new Pestrol website
Author:       xwisnux
Author URL:   https://worksofwisnu.com
Template:     ht-guardian
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  ht-guardian
*/

/* TYPOGRAPHY */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-bottom: 20px;
}

/* HEADER */
.site-header .inner-area .main-nav-bar .menu-toggle {
	margin: 0;
	top: 33px;
}
.site-header .inner-area .site-logo .site-title a {
	width: 78px !important;
}

.site-header .inner-area .main-nav-bar .menu-bar > .social-icons {
	display: none !important;
}

.site-header .inner-area .main-navigation ul.menu > li > a,
.site-header.init-transparent .inner-area .main-nav-bar-wrapper:not(.is-sticky) .main-navigation ul.menu > li > a, .site-header .inner-area .main-nav-bar .menu-bar>.search-toggle {
	color: #4c96ff !important;
}

.site-header .inner-area .main-navigation ul.menu > li:hover > a, .site-header .inner-area .main-navigation ul.menu > li.current-menu-item > a, .site-header .inner-area .main-navigation ul.menu > li.current_page_item > a {
  color: #ffeb3b !important;
}


/* NAVIGATION  */
@media only screen and (min-width: 992px) {
	.site-header .inner-area .main-navigation ul.menu ul.sub-menu {
		width: auto !important;
	}
}


/* HERO */

/*@media only screen and (max-width: 374px) {
	.ht-sl-slider,
	.ht-sl-slider .sl-slider {
		height: 900px !important;
	}
}

@media only screen and (min-width: 375px) and (max-width: 599px) {
	.ht-sl-slider,
	.ht-sl-slider .sl-slider {
		height: 820px !important;
	}
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
	.ht-sl-slider,
	.ht-sl-slider .sl-slider {
		height: 720px !important;
	}

	.ht-sl-slider .sl-slider .sl-slide .sl-content-wrapper {
		height: 100% !important;
	}
}*/

.ht-sl-slider .sl-slider .sl-slide .sl-content-wrapper .sl-content .sl-slide-inner .entry-layers .entry-layer-1 {
	color: #fff !important;
	text-align: center;
	text-shadow: 0 6px 0 #044294;
	text-transform: none !important;
	margin-top: 20px !important;
}

.ht-sl-slider .sl-slider .sl-slide .sl-content-wrapper .sl-content .sl-slide-inner .entry-layers .entry-layer-2 {
	color: #fff !important;
	text-align: center;
	font-size: 20px;
	margin-top: 30px;
	text-shadow: 0 1px 0 #044294;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.1px;
}

@media only screen and (min-width: 1300px) {
	.ht-sl-slider .sl-slider .sl-slide .sl-content-wrapper .sl-content .sl-slide-inner .entry-layers {
		padding-left: 50px;
		padding-right: 50px;
	}

	.ht-sl-slider .sl-slider .sl-slide .sl-content-wrapper .sl-content .sl-slide-inner .entry-layers .entry-layer-1 {
	    font-size: 54px;
	    letter-spacing: -1px;
	}

}

.ht-sl-slider .ht-slider-contact-form .entry-form-header .entry-title {
	line-height: 30px;
}

.ht-sl-slider .ht-slider-contact-form .entry-form-header .entry-title br {
	display: none;
}

@media only screen and (min-width: 768px) {
	.ht-sl-slider .ht-slider-contact-form .entry-form-header .entry-title br {
		display: block;
	}
}

.ht-sl-slider .ht-slider-contact-form .entry-form-header p {
	font-size: 18px;
}

.ht-sl-slider .ht-slider-contact-form .entry-submit-wrapper {
	margin-bottom: 0;
}

@media only screen and (min-width: 769px) {
	.ht-sl-slider .ht-slider-contact-form .entry-submit-wrapper {
		height: 10px;
	}
}

.ht-sl-slider .ht-slider-contact-form .entry-submit-wrapper .entry-submit {
	font-size: 38px;
	font-weight: 600;
	text-transform: uppercase;
	font-family: "League Spartan";
	transition: all .3s ease-in;
}

.ht-sl-slider .ht-slider-contact-form .entry-submit-wrapper .entry-submit:hover {
	background: #353535;
}

.entry-form-text {
	position: absolute;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 1px 0 #000;
  text-align: center;
  line-height: 1.2em;
}

div.wpcf7-response-output {
	position: absolute;
	bottom: 0;
}


/* CONTENT */
.pest-text-block--list a,
.content-area a {
	text-decoration: underline;
}

.ht-button {
	height: auto !important;
}

.entry-link,
.entry-link-button,
.ht-button.border {
	text-decoration: none !important;
}

.content-area a {
	color: #004199;
}

img.certification-logo {
    margin: 0 30px;
    display: inline-block;
}

img.certification-logo-narrow {
	margin: 0 17px;
    display: inline-block;
}

.ht-feature-masonry .entries-wrapper .entry.size-1-1 {
	background-position: right center;
}

@media only screen and (max-width: 600px) {
	.site-header .inner-area {
		background-size: cover !important;
	}

	.fw-col-inner {
		padding-top: 0 !important;
	}

	.fw-col-inner img {
		margin-bottom: 20px;
	}

	.ht-buttons {
		padding-left: 15px;
		padding-right: 15px;
	}

	.ht-feature-with-icon,
	.ht-list-with-icon {
		padding-left: 15px;
		padding-right: 15px;
	}

	.ht-feature-masonry .entries-wrapper .entry .entry-inner {
		padding: 0 25% 0 0 !important;
	}

	.ht-feature-masonry .entry-title {
		font-size: 24px !important;
	}

	.ht-feature-masonry .entries-wrapper .entry.size-1-1 .entry-subtitle {
    	margin: 10px 0 !important;
	}

	img.certification-logo,
	img.certification-logo-narrow {
		display: block;
		margin:  0 auto;
	}
}

/* FORM */
.wpcf7-form label {
	text-transform: uppercase;
	color: #000;
	letter-spacing: 1px;
}

.ht-sl-slider .ht-slider-contact-form {
	background: rgba(2555,255,255, 0.65) !important;
}

.ht-sl-slider .ht-slider-contact-form .fields-wrapper .form-group.form-full {
	width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
	background: none !important;
}


/* CAREERS FORM */
.gform_wrapper .description, .gform_wrapper .gfield_description, .gform_wrapper .gsection_description, .gform_wrapper .instruction {
	font-size: 1em !important;
	line-height: 1.5 !important;
}

.gform_wrapper .gsection .gfield_label, .gform_wrapper h2.gsection_title, .gform_wrapper h3.gform_title {
	font-size: 1.5em !important;
	line-height: 1.5;
}

@media only screen and (max-width: 767px) {
	.gform_wrapper {
		padding-left: 15px;
		padding-right: 15px;
	}
}
/* CONTENT */
.pest-block {
	text-align: center;
}

.pest-block img {
	max-width: 230px;
  width: 100%;
}

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

	.pest-block--medium img {
		max-width: 75%;
	}

	.pest-block--small {
		margin-top: 11px;
	}

	.pest-block--small img {
		max-width: 75%;
	}

}

.pest-block .entry-link,
.gform_button {
  padding: 10px 20px;
  display: inline-block;
  text-align: center;
  background-color: #044294;
  color: #fff !important;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
}

.pest-block .entry-link:hover,
.gform_button:hover {
	background-color: #ffeb3b;
	color: #555 !important;
}

.pest-block .entry-link::before {
	display: none !important;
}

@media only screen and (max-width: 767px) {
	.this-entry-media {
		display: none;
	}

	.ht-pest-search-form-wrapper button.right-col {
		position: relative;
    width: 100%;
    left: 0;
    margin-bottom: 30px;
	}

	.ht-pest-search-form-wrapper .right-col .button-text {
		position: relative !important;
    height: 100% !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 20px 0;
  }

  .ht-pest-search-form-wrapper .left-col .entry-label {
	  padding-left: 0 !important;
	  position: relative;
  }

  .ht-pest-search-form-wrapper .right-col:before {
	  display: none;
  }

  .ht-branch-search-form-wrapper .right-col .field-wrapper {
	  padding: 0 !important;
  }

  .ht-branch-search-form-wrapper .right-col .field-wrapper button {
	  position: relative !important;
    width: 100% !important;
  }


}

/* PAGES */
.page-template-branches .ht-branch-search-form-wrapper {
	display: none;
}

.page-template-branches > .site > .site-content > .main-content > .tb-layout-control > .tb-layout-control-inner {
	padding-top: 80px !important;
}

.ht-timeline .entry .entry-time {
	height: auto !important;
	line-height: 1.5;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

/* FOOTER */
.widget.widget_branch_search form {
	background-color: #fff !important;
}

.widget.widget_branch_search form .entry-label {
	color: #044294;
}

.footer-sidebar .widget.widget_branch_search form {
	background-position-x: 110%;
}

.footer-sidebar .widget.widget_branch_search form:hover {
	background-position-x: 100%;
}

.footer-sidebar .widget.widget_nav_menu ul li {
	background: none;
}

.footer-sidebar .widget.widget_nav_menu ul li a {
	padding-left: 0px;
}

.footer-sidebar .widget.widget_nav_menu ul li:hover a {
	background: none;
	color: #ffeb3b !important;
}