/*
 * HOMEPAGE-ONLY CSS
 *
 * Loaded in place of the full child-theme style.css on the front page.
 * Interior-page component styles remain in style.css.
 */

::selection {
  background: #fe4800;
  color: #ffffff;
}

::-moz-selection {
  background: #fe4800;
  color: #ffffff;
}

h1 {min-height: 1.2em;}

h1, h2, h3 {font-family: "Orbitron"!important;}

.footer_imgs a {max-width:150px;}

.wprevdate, .wprev_showdate_T1, .wprev_showdate_T2, .wprev_showdate_T3, .wprev_showdate_T4, .wprev_showdate_T5 {
    display: none;
}

.omnis-divider.et_pb_divider:before {
    height:0px!important;
}

@media all and (min-width:640px) {
#new_phone, #new_mail {text-align:left;float: left;}
}

.login_button {background:black; color:white!Important;padding: 6px 12px; font-family:orbitron; font-size:15px; text-transform:uppercase; transition:all .3s ease; margin-bottom:12px;}

.login_button:hover {background:rgb(233,81,25); color:white!Important; }

@media all and (max-width:640px) {
.login_button {display:block; margin: 6px 12px;}
}

.et_pb_menu_0.et_pb_menu ul li a, .et_pb_menu_1.et_pb_menu ul li a {
    font-weight: 500!important;
}

.et_pb_button{
	border-bottom:none;
	border-right:none;
}

.et_pb_button:hover{
	border: 3px solid #999!important;
	border-bottom:none;
	border-right:none;
}

.et_pb_text_0_tb_footer {

    margin-bottom: 0px!important;
}

#footerPestMenu p, #pestDropDown p{
    padding: 0;
}

a.footerPest {
    color: #db4f1e!important;
}

div.footerPest, a.footerPest {width:14.2%; float:left;    padding-bottom: 15px;}

#pestDropDown div.pest, #pestDropDown a.pest, div.footerPest, a.footerPest{text-align:center;color: #666;}

#pestDropDown a.pest{text-align:center;color: #E84F0C;}

#pestDropDown .generalPests div.pest, #pestDropDown .generalPests a.pest{width:14.2%; float:left;}

#pestDropDown .wildlifeControl div.pest, #pestDropDown .wildlifeControl a.pest{width:20.4%; float:left;}

#pestDropDown .specialtyPest div.pest, #pestDropDown .specialtyPest a.pest{width:20.4%;float:left;}

#pestDropDown .specialtyPest h4 {float:left; padding-top:30px;}

#pestDropDown .specialtyPest {margin:0 auto; width:100%;float:left;}

.pest.gophers img, .footerPest.gophers img{transform:scaleX(-1)}

#pestDropDown .et_pb_button {
	border-top:3px solid red;
	border-left:3px solid red;
}

@media all and (min-width:980px) {
#pestDropDown .pest img {width:70%!important; margin:0 15%!important;}
}

.clear {display:block;width:100%;height:0px;}

.et_pb_module .et_pb_button:hover, .et_pb_button:hover {
    border: 2px solid transparent;
	border-bottom:none!important;
	border-right:none!important;
}

#quoteSection:before,#quoteSection:after {
	content:"";
	display: block;
	height:46px;
	width:51px;
	background: url(https://omnispest.com/wp-content/uploads/2021/01/layout01_slicing_05.png);
	position: absolute;

}

#quoteSection:before {    top: -22px;
    left: 50px;}

#quoteSection:after {
	transform: rotate(180deg);
   bottom: -22px;
    right: 50px;
}

h1, h2, h3 {
	font-weight:900;
}

#footer-bottom {
    padding: 0;
}

.redOrange a{
	color:#E84F0C!important;
}

.redOrange a:hover{
	color:#E84F0C!important;
}

@media all and (min-width: 981px) {
body .mobile-only {
    display: none!Important;
}
}

@media (max-width:981px) {
li.divimegapro-14827.menu-item-has-children.et_pb_menu_page_id-15.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-14831 {
    display: none;
}

body .mobile-only {
    display: block!Important;
}
}

@media (max-width:981px) {
#footerPestMenu	.clear {
		clear:none;display: inline;
	}

div.footerPest, a.footerPest {
    width: 25%;	
	}

#quoteSection:before {    top: -22px;
    left: 10px;}

#quoteSection:after {
	transform: rotate(180deg);
   bottom: -22px;
    right: 10px;
}

.redOrange a{
	display:none!important;
}

#pestDropDown div.pest, #pestDropDown a.pest, div.footerPest, a.footerPest{font-size:11px;}

.pest.mosquitos {clear: both;}

#pestDropDown a.pest,  #pestDropDown div.pest {
    width: 25%!important;
	}

#pestDropDown {display:none!important;}
}

@media all and (min-width: 981px) and (max-width: 1337px) {
#pestDropDown div.pest, #pestDropDown a.pest, div.footerPest, a.footerPest{font-size:11px;}
}

@media all and (max-width: 980px) {
.custom-row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}

.first-on-mobile {
-webkit-order: 1;
order: 1;
}

.second-on-mobile {
-webkit-order: 2;
order: 2;
}

.third-on-mobile {
-webkit-order: 3;
order: 3;
}

.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}

.custom-row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
}

.vertical-center {display: flex; justify-content: center; flex-direction:column;
}

.image-fill img {
 object-fit: cover;
}

img[title],img:hover[title] {
 pointer-events: none;
}
