.ad-banner {
    max-width: 100%;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
}

.ad-banner.f-ad-sidebar {
    padding: 15px;
    border-radius: 7px;
    /* background-position: 100% 10px;
    background-repeat: no-repeat;
    background-size: auto 180px;
    height: 190px;
    width: 100%; */
}

.ad-banner.f-ad-sidebar.gardening {
    background-color: #E9F7EE;
}
.ad-banner.f-ad-sidebar.gardening.fs {
    background-color: #E9F7EE;
}

.ad-banner.f-ad-sidebar.cleaning,
.ad-banner.f-ad-sidebar.general
{
    background-color: #EDF6FE;
}
.ad-banner.f-ad-sidebar.cleaning.fs {
    background-color: #EDF6FE;
}

.ad-banner.f-ad-sidebar.pest {
    background-color: #F0F3F7;
    /* background-size: 179px 196px;
    height: 206px; */
}
.ad-banner.f-ad-sidebar.pest.fs {
    background-color: #FDEAE9;
}

.ad-banner.f-ad-sidebar.removals {
    background-color: #F0EDE8;
}

.ad-banner.f-ad-sidebar.removals.fs {
    background-color: #FEEEEC;
}

.ad-banner.f-ad-sidebar.handyman {
    background-color: #F5F5F5;                         
}
.ad-banner.f-ad-sidebar.handyman.fs {
    background-color: #FFFAE6 ;
}




.ad-banner.f-ad-content.handyman.other {
    background-color: #F5F5F5;
}
.ad-banner.f-ad-content.handyman.fs {
    background-color: #FFFAE6;
}

.ad-banner.f-ad-content.removals.fs {
    background-color: #FEEDEC;
}
.ad-banner.f-ad-content.removals.other {
    background-color: #F0EDE8;
}

.ad-banner.f-ad-content.pest.fs {
    background-color: #FCEAE9;
}
.ad-banner.f-ad-content.pest.other {
    background-color: #F0F3F7;
}

.ad-banner.f-ad-content.cleaning.fs,
.ad-banner.f-ad-content.general.fs {
    background-color: #EDF6FE;
}
.ad-banner.f-ad-content.cleaning.other {
    background-color: #EDF6FE;
}

.ad-banner.f-ad-content.gardening.fs {
    background-color: #E9F6EE;
}
.ad-banner.f-ad-content.gardening.other {
    background-color: #E9F6EE;
}

.ad-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ad-banner.f-ad-sidebar .bold,
.ad-banner.f-ad-content .bold {
    font-weight: bold;
    font-family: 'ralewaybold';
}

.ad-banner .f-ad-title,
.ad-banner .f-ad-text {
    max-width: 80%;
    margin: 0;
    z-index: 1;
    position: relative;
}

.ad-banner.other.f-ad-sidebar .f-ad-title,
.ad-banner.other.f-ad-sidebar .f-ad-text {
    /* max-width: calc(100% / 2); */
    width: 140px;
}

.ad-banner.fs.f-ad-sidebar .f-ad-title,
.ad-banner.fs.f-ad-sidebar .f-ad-text {
    max-width: calc(100% / 1.6);
}

.ad-banner.f-ad-sidebar .f-ad-title {
    font-size: 20px;
    line-height: 24px;
}
 
.ad-banner.ad-content .f-ad-title {
    font-size: 24px;
    line-height: 28px;
}

.ad-banner .f-ad-title {
    color: #172A41;
    margin-bottom: 10px;
}

.ad-banner.ad-content-desktop p {
    font-size: 18px;
}

.ad-banner.ad-content-desktop p.f-ad-title {
    font-size: 24px;
}

.ad-banner.f-ad-sidebar .f-ad-text {
    font-size: 15px;
    line-height: 22px;
}

.ad-banner.ad-content .f-ad-text {
    font-size: 16px;
    line-height: 24px;
}

.ad-banner .f-ad-text {
    color: #394E66;
}

.ad-banner .f-ad-button {
    font-size: 15px;
    line-height: 24px;
    background: #DB007D;
    text-align: center;
    padding: 10px 30px;
    border-radius: 5px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #FFFFFF;
    display: inline-block;
    border: none;
}

.ad-banner.f-ad-sidebar .f-ad-button {
    bottom: 15px;
    left: 15px;
    font-size: 15px;
    line-height: 24px;
    padding: 8px 29px;
}

.ad-banner .f-ad-button:hover,
.ad-banner .f-ad-button:active,
.ad-banner .f-ad-button:focus {
    background-color: #AF0064;
    text-decoration: none;
}

.ad-banner.other.removals .f-ad-button {
    background-color: #F0513F;
    border: 1px solid #F0513F;
}

.ad-banner.other.removals .f-ad-button:hover,
.ad-banner.other.removals .f-ad-button:active,
.ad-banner.other.removals .f-ad-button:focus {
    background-color: transparent ;
    color: #F0513F;
}

.ad-banner.other.pest .f-ad-button {
    background-color: #EE3124;
    border: 1px solid #EE3124;
}

.ad-banner.other.pest .f-ad-button:hover,
.ad-banner.other.pest .f-ad-button:active,
.ad-banner.other.pest .f-ad-button:focus {
    background-color: transparent ;
    color: #EE3124;
}

.ad-banner.other.handyman .f-ad-button {
    background-color: #ffd000;
    color: #000000;
}

.ad-banner.other.handyman .f-ad-button:hover,
.ad-banner.other.handyman .f-ad-button:active,
.ad-banner.other.handyman .f-ad-button:focus {
    background-color: #FEC401 ;
}

.ad-banner.other.gardening .f-ad-button {
    background-color: #FB6C21;
}

.ad-banner.other.gardening .f-ad-button:hover,
.ad-banner.other.gardening .f-ad-button:active,
.ad-banner.other.gardening .f-ad-button:focus {
    background-color: #EA5C1C ;
}

.ad-banner.other.cleaner .f-ad-button {
    background-color: #DB007D;
}


@media only screen and (min-width: 767px) {
    .ad-content-mobile, 
    .ad-sidebar-mobile {
        display: none;
    }
    .ad-banner.f-ad-sidebar {
        background-position: 100% 10px;
        background-repeat: no-repeat;
        background-size: auto 180px;
        height: 190px!important;
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .ad-content-desktop, 
    .ad-sidebar-desktop {
        display: none;
    }

    .ad-banner {

        max-width: 100%;
        background-size: contain;
    }

    .ad-banner .bold {
        font-weight: bold;
        font-family: 'ralewaybold';
    }

    .ad-banner.other.f-ad-sidebar .f-ad-title, 
    .ad-banner.other.f-ad-sidebar .f-ad-text, 
    .ad-banner.fs.f-ad-sidebar .f-ad-title, 
    .ad-banner.fs.f-ad-sidebar .f-ad-text {
        max-width: 100%;
        width: 100%;
    }

    .ad-banner .f-ad-title {
        font-size: 24px;
        line-height: 28px;
        margin-top: 10px;
    }

    .ad-banner .f-ad-title,
    .ad-banner .f-ad-text {
        text-align: center;
        max-width: 100%;
    }

    .ad-banner .f-ad-button,
    .ad-banner.f-ad-sidebar .f-ad-button {
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
    }

    .ad-banner.f-ad-sidebar .f-ad-button {
        /* bottom: 25px; */
    }

}