/** Custom CSS File for Doctor Pest  **/

:root {
    --dark: #231e1f;
    --red: #b4372f;
    --white: #fff;
    --primary-gradient: linear-gradient(to right, #231e1f, #6c2b27, #b4372f)
}

iframe[src^="https://www.youtube.com/embed/"] {
    border-radius: 10px;
    overflow: hidden;
}

.uk-icon[uk-icon="icon: star"] svg > * {
    stroke: #ffb000 !important;
    fill: #ffb000 !important;
}


/*? ==== Extra Styles ==== */

.uk-text-black {
    font-weight: 900;
}

.uk-padding-medium {
    padding: 30px 20px;
}

thead {
    background: var(--dark);
}

/*? ==== Buttons ==== */

.uk-light .uk-button-primary {
    background-image: linear-gradient(to right, #6c2b27, #b4372f);
    background-size: 200%;
    border-color: transparent;
}

.uk-light .uk-button-primary:hover {
    background-image: linear-gradient(to right, #6c2b27, #b4372f);
    background-position: center;
    border-color: transparent;
}

/*? ==== Form ==== */

.uk-input,
.uk-textarea {
    font-size: 14px;
}

.uk-date {
    background: var(--white);
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #e5e5e5;
    font-family: 'Montserrat';
}

.uk-light input[type="date" i]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.uk-input::placeholder,
.uk-textarea::placeholder,
.uk-select {
    font-size: 14px;
}

input::-webkit-datetime-edit {
    color: #7e7e7e;
}

.wpcf7-spinner {
    position: absolute;
    right: unset;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0px;
}

.uk-textarea {
    min-width: 100%;
    max-width: 100%;
    max-height: 120px;
    min-height: 120px;
    height: 120px;
}

.wpcf7-not-valid-tip,
.uk-input:focus+span {
    display: none;
}

.wpcf7-not-valid {
    background: var(--red);
}

.wpcf7-not-valid::placeholder {
    color: #fff !important;
}

.uk-form-label {
    letter-spacing: 0px;
    font-weight: bold;
}

.cpest-intro {
    overflow: unset !important;
}

/*? ==== Header ==== */

.tm-toolbar .uk-h6 {
    line-height: 24px;
}

.header-socials .el-link {
    position: relative;
    top: -2px;
}

/*? ==== Home ==== */


.home_lead-form {
    background: #f7f7f7;
    padding: 20px 40px 30px;
    border-radius: 10px;
    z-index: 10;
    box-shadow: 5px 5px 12px #0000003b;
}

.home-title {
    text-shadow: 3px 3px 6px var(--white);
}

.home-subtitle {
    font-size: 24px;
    text-shadow: 3px 3px 6px var(--white);
}

.service-area {
    border-radius: 10px;
    overflow: hidden;
}

.service-area iframe {
    margin-top: -59px;
}

.column-image .uk-tile {
    box-shadow: 0 14px 25px rgba(0,0,0,.16);
    border-radius: 10px;
}

@media (min-width: 960px) {
    #homeIntro .uk-background-cover {
        background-position: 0 20% !important;
    }
}


@media (max-width: 959px) {
    #homeIntro .uk-background-cover {
        background-image: url("/wp-content/uploads/2024/06/Home-Handshake-van-only.webp") !important;
        background-position: 50% 50% !important;
    }
}

/*? ==== Inner Pages ==== */


.page-title-wrap>div {
    padding-top: 140px;
}

.uk-padding-remove-vertical>.uk-tile {
    padding: 0;
}

/*! Residential */

/* Pests */

#pestControlWrap {
    opacity: 0;
}

.rpc-steps .el-title {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 30px;
    height: 30px;
    padding: 10px;
    text-align: center;
    background: var(--red);
    color: var(--white);
    border-radius: 100%;
}

.pests-wrap .el-overlay,
.pests-wrap .uk-transition-fade.uk-overlay-primary {
    opacity: .4;
}

.pests-wrap .el-title {
    font-weight: bold;
    position: relative;
    transition: all .5s ease;
}

.pests-wrap .pest-row .el-content {
    font-size: 16px;
    position: relative;
    opacity: 0;
    transition: all .5s ease;
    max-height: 0;
    overflow: hidden;
    margin-top: 0px !important;
}

.pest-row .uk-transition-toggle:hover .el-content,
.pest-row .el-item:hover .el-content,
.pest-row .uk-transition-toggle:active .el-content,
.pest-row .el-item:active .el-content {
    opacity: 1;
    max-height: 400px;
    margin-top: 20px !important;
}

.approach-steps .el-title {
    text-align: center;
}

.approach-steps .el-title>span {
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 3px solid;
    background: var(--red);
    color: var(--white);
    border-radius: 100%;
    padding: 10px;
    font-size: 32px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.approach-steps .el-content {
    background: var(--white);
    border: 1px solid #bbbbbb29;
    border-radius: 10px;
    box-shadow: 0px 3px 10px #00000021;
    font-size: 18px;
    padding: 20px 20px 0px;
    position: relative;
    margin-top: 0px !important;
    top: -30px;
    height: calc(100% - 60px);
    font-weight: 400;
}


.uk-position-bottom-left {
    width: 100%;
}

.pests-wrap .el-item:hover .uk-transition-fade.uk-overlay-primary,
.pests-wrap .uk-inline-clip:hover .uk-overlay-primary {
    opacity: .8;
}

/* Pest Control */

.pest-control-wrap .el-title,
.pest-control-wrap .el-content {
    position: relative;
    z-index: 2;
}

.pest-control-item {
    background: #000;
}

.pest-control-item>img {
    opacity: .4;
}

.pest-control-wrap .el-title {
    font-weight: bold;
    font-size: 28px;
}

/* FAQ */

.uk-accordion-title {
    background: var(--red);
    padding: 20px;
    color: var(--white);
    font-weight: bold;
    border-radius: 15px;
}

.uk-accordion-title::before {
    filter: invert(1) brightness(10);
}

.uk-accordion-content {
    padding: 20px;
    background: #f7f7f7;
    border-radius: 10px;
    font-size: 18px;
    margin-top: 5px;
}

.uk-accordion-title:hover {
    color: #ddd;
}

.uk-accordion>:nth-child(n+2) {
    margin-top: 5px;
}

@media (max-width: 959px) {
    .pet-friendly-wrap .uk-width-1-2\@m > .uk-tile,
    .approach-wrap .uk-width-1-2\@m > .uk-tile {
        padding: 0px;
    }
}
@media (max-width: 639px) {
    .rpc-steps .el-title {
        left: -8px;
        top: -8px;
    }
}

/*! Termite Control */

.float-text {
    display: block;
}

.termite-header {
    position: relative;
    z-index: 3;
}

.termite-intro-image > div > div {
    border-radius: 10px;
    box-shadow: 0 14px 25px rgba(0,0,0,.16);
}

.termite-steps .el-title {
    font-weight: bold;
}

.termite-steps .el-item {
    box-shadow: 0px 3px 10px #00000021;
    border-radius: 10px;
    overflow: hidden;
}

/* .termite-steps *+.uk-grid-margin {
    margin-top: 20px;
} */

.approach-steps .el-content {
    padding-top: 40px;
    padding-bottom: 20px;
}

.bait-steps>div {
    justify-content: center;
}

.page-id-1422 .uk-navbar-container {
    border-bottom: 4px solid var(--red);
}


@media (min-width: 1600px) {
    .termite-intro-image {
        transform: scale(1.3);
    }
}
@media (max-width: 1599px) and (min-width: 1200px) {
    .termite-intro-image {
        transform: scale(1.1);
    }
}
@media (min-width: 1200px) {
    .termite-intro-image {
        transform-origin: bottom left;
    }
}
@media (max-width: 1199px) {
    .termite-intro-image {
        margin-bottom: 20px;
    }
}
@media (max-width: 959px) {
    .termite-intro-buttons > div {
        display: block;
    }
    
    .termite-intro-buttons > div .uk-button {
        width: 100%;
    }
}

/*! Commercial */

.facilities-wrap .el-title,
.facilities-wrap .el-content {
    position: relative;
    z-index: 2;
}

.facilities-wrap .el-title {
    font-weight: bold;
}

/*! Rodent Exclusion */

.rodent-exclusion-process .el-title {
    font-weight: bold;
}

.rodent-exclusion-process .el-item.uk-tile-default {
    border-radius: 10px;
    overflow: hidden;
}

.schedule-rodent-exclusion {
    margin-bottom: 70px;
}

/*? ===== Blog ===== */

.drpest-post-content > * + * {
    margin-top: 40px;
}

.drpest-post-content h2, .drpest-post-content h3 {
    font-weight: bold;
}

.drpest-post-content h2 {
    color: var(--dark);
}

.drpest-post-content h3 {
    color: var(--red) !important;
}

.pest-post-tags>*,
a.comment-edit-link {
    font-size: 13px;
    border: 2px solid var(--dark);
    color: var(--dark);
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 5px;
}

.pest-post-tags>*:not(:last-child) {
    margin-right: 5px;
}

.pest-post-tags>*:hover,
.pest-post-tags>*:focus,
a.comment-edit-link:hover,
a.comment-edit-link:focus {
    background: var(--dark);
    color: var(--white);
    text-decoration: none;
    border-color: var(--dark);
}

#cancel-comment-reply-link {
    margin-left: 10px;
}

h3#reply-title {
    color: var(--red);
    font-weight: bold;
    text-transform: capitalize;
}

.ryconn-post-comments .el-title {
    font-weight: bold;
}

.ryconn-post-comments .el-title::before {
    border-width: 5px;
}

a.comment-edit-link {
    padding: 5px 20px;
}

.pest-post-meta a+a {
    padding-left: 10px;
}

.pest-post-meta a+a:not(:last-child) {
    margin-left: 10px;
    margin-right: 10px;
}

.pest-post-meta a:nth-child(2):not(:last-child) {
    margin-left: 0px;
}

/*? ==== Footer ==== */

.hours .uk-width-small {
    width: 110px;
}

.footer-contact .uk-flex-middle {
    align-items: start;
}

.socials .uk-icon-button {
    border-radius: 10px;
    color: var(--white);
    border-color: var(--white);
  }
  
.socials > div > div:nth-child(1) .uk-icon-button {
    background: #3d5a95;
}

.socials > div > div:nth-child(2) .uk-icon-button {
    background: #1a8cd8;
}

.socials > div > div:nth-child(3) .uk-icon-button {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.socials > div > div:nth-child(4) .uk-icon-button {
    background: #1670aa;
}

.socials > div > div:nth-child(5) .uk-icon-button {
    background: #ff0205;
}

.socials > div > div:nth-child(6) .uk-icon-button {
    /* background: linear-gradient(45deg, #e85448 25%, #fabd02 25% 50%, #33ab54 50% 75%, #4385f5 75% 100%) */
    background: #4688f2;
}

/*? ==== Landing Pages ==== */

.single-lp .tm-toolbar, .single-lp .tm-header, .single-lp .tm-header-mobile, .single-lp footer, .single-lp .grecaptcha-badge {
    display: none;
}

.single-lp::-webkit-scrollbar {
    display: none;
}

/*? ==== Responsiveness ==== */


@media (max-width: 1325px) {

    .uk-navbar-left,
    .uk-navbar-right,
    [class*=uk-navbar-center] {
        gap: 20px;
    }

    .uk-navbar-nav>li>a {
        padding: 0px 7px;
    }

    .uk-navbar-container>div {
        padding: 0px 20px;
    }
}

@media (max-width: 1199px) {
    .home_lead-form {
        top: 0px !important;
        position: relative !important;
        padding: 20px;
    }

    .home_intro>div {
        padding-top: 60px;
        padding-bottom: 40px
    }
}

@media (max-width: 1119px) and (min-width: 960px) {
    .tm-header .uk-logo {
        max-width: 180px;
    }
}

@media (max-width: 1079px) {

    .uk-navbar-container .uk-button {
        padding: 0px 10px;
    }

    .uk-logo {
        max-width: 200px;
    }

    .uk-navbar-container>div {
        padding: 0px 10px;
    }

    .uk-navbar-nav>li>a {
        padding: 0px 6px;
		font-size: 13px;
    }
	.contact-toolbar .uk-button {
		font-size:13px;
	}
}

@media(min-width: 960px) {
    .termite-steps .uk-cover-container {
        border-radius: 10px 0px 0px 10px;
    }
}

@media(max-width: 959px) {
    .termite-steps .uk-cover-container {
        border-radius: 10px 10px 0px 0px;
    }

    .approach-steps .uk-padding-medium {
        padding: 20px 0;
    }

    .pest-contact-info * {
        text-align: left !important;
    }

    .pest-contact-info .uk-first-column {
        width: 100px;
    }
    .button-stack > div > div, .button-stack > div > div > a {
        display: block;
        width: 100% !important;
    }
}


@media (max-width: 639px) {
    .home_intro .uk-heading-small {
        font-size: 28px;
        line-height: 1.6;
    }

    .home-subtitle {
        font-size: 18px;
    }

    .uk-button-large {
        padding: 15px 20px;
        line-height: 1;
    }

    .home_lead-form-title {
        font-size: 24px;
    }

    .facilities-wrap .el-content {
        font-size: 16px;
    }

    hr.uk-margin-medium {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }

    .uk-accordion-title {
        font-size: 18px;
    }

    .pest-contact-info * {
        font-size: 16px;
    }
}

@media (max-width: 539px) {
    .single-pest .uk-overlay {
        padding: 10px;
        text-align: left;
    }

    .pests-wrap .el-title {
        font-size: 18px;
    }

}
