/*!
Site Name: Home | Clipper
Page URI: https://www.clippercard.com/ClipperWeb/
Author: MIG, Inc. - 5.26.23
Author URI: https://www.migcom.com
Description: CSS for Clipper card homepage
Version: 1.0.2
*/

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* Region 2 ALL */

.homepage-news-wrap {
    border: 1px solid #DEDEDE;
    padding: 3rem 3.5rem 1rem 3.5rem;
}

.homepage-news-region ul {
    list-style-type: none;
}

.homepage-news-region h2 {
    font-weight: 700;
}

.homepage-news-region ul li {
    background-image: url(../img/common/icon-triangle-right.jpg);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    padding-left: 2rem;
    padding-bottom: 15px;
}

.homepage-news-region ul li a {
    color: #4f4d51;
    line-height: 1.75;
    padding-bottom: 2px;
    border-bottom: solid #fff 1px;
}

.homepage-news-region ul li a:hover,
.homepage-news-region ul li a:active {
    line-height: 1.75;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: solid #4F4D51 1px;
}

.homepage-news-region img {
    margin: 2rem auto;
    display: block;
}

.learn-more a {
    background-color: #006298;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #006298;
    padding-bottom: 1px;
    letter-spacing: 1px;
}

.learn-more a:hover {
    text-decoration: none;
}

.learn-more a:after,
.learn-more a:after,
.learn-more a:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "\f178";
    position: relative;
    left: 2px;
    font-size: .875rem;
    padding-right: 4px;
}

.learn-more a:hover:after,
.learn-more a:focus:after,
.learn-more a:active:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "\f14c";
    position: relative;
    left: 2px;
    font-size: .875rem;
    padding-right: 4px;
}

.learn-more span {
    border-bottom: 1px solid #006298;
}

.learn-more a:hover span {
    background-color: #006298;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

.learn-more a i {
    position: relative;
    top: .25rem;
    font-size: 1.5rem;
}

/* Homepage hero graphic focus */

#main-banner .hero-image-link,
#lower-banner .hero-image-link {
    display: inline-block;
}

#main-banner .hero-image-link:focus {
    outline: 3px solid #2F93C1;
}

.improve-clipper {
    background-color: #006298;
    color: #fff;
    font-size: .875rem;
}

.improve-clipper-section h1,
.improve-clipper-section h2,
.improve-clipper-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
}

.improve-clipper-section .btn {
    background-color: #369ECE;
    /*  background-color: #43B3E6; */
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-lower-banner {
    background-color: #43B3E6;
    color: white;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: .75rem;
    padding: .25rem 1.5rem;
}

.btn-lower-banner:hover {
    background-color: white;
    color: #006298;
}

/* Homepage cards */

.cards-news .h2 {
    font-weight: 700;
    padding-top: 2rem;
}

/* End ALL */

/* ----------- Smartphone Device Styles (SM)  ----------- */

@media (max-width: 575px) {

    p.lead {
        display: none;
    }

    #main-banner {
        position: relative;
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 0;
        padding: 0px;
    }

    #main-banner {
        padding-bottom: 0rem !important;
        position: relative;
    }

    #lower-banner {
        position: relative;
    }

    .mobile-promo-logos {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }

    a.hero-image-link-btm-left {
        margin-right: 20px;
    }

    #lower-banner {
        margin-top: 15px;
        position: relative;
        background-image: url(../img/homepage/Banner-lower-mobile.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        height: 240px;
    }

    a.hero-image-link-mobile {
        text-align: center;
        position: absolute;
        color: #fff;
        top: 27px;
        left: 25px;
        padding-bottom: 5px;
        font-size: 2.25rem;
        font-family: "utopia-std", serif;
        line-height: 2.5rem;
        font-weight: 600;
        border-bottom: 1px solid #fff;
    }

    a.hero-image-link-mobile:active {
        border-bottom: 1px solid #63B2E3;
    }

    a.hero-image-link-mobile:hover {
        text-decoration: none;
    }

    .apay-logo-hmpg,
    .gpay-logo-hmpg {
        width: 85px;
        height: 45px;
        border: 1px solid #fff;
        padding: 8px;
        border-radius: 10px;
    }

    .apay-logo-hmpg:active,
    .gpay-logo-hmpg:active {
        border: 1px solid #63B2E3;
    }

    .homepage-news-region ul {
        padding-left: 0px;
    }

    .homepage-news-region {
        padding-bottom: 0rem !important;
        padding-top: 0rem !important;
    }

    .homepage-news-wrap {
        border: 1px solid #DEDEDE;
        padding: 3rem 1rem 0rem;
        margin-bottom: 0rem;
    }

    /* Removed the background image on mobile - keeping in case it needs to come back  */
    /*.how-to-improve-clipper {
        background-image: url(/img/homepage/improve-clipper-mobile-bg.png);
        background-repeat: no-repeat;
        background-position: 0px center;
        background-size: contain;
    }*/
    .how-to-improve-clipper h2 {
        text-align: center;
        width: 90%;
    }

    .mobile-display {
        overflow: hidden;
    }

    .mobile-display img {
        position: relative;
        left: 50%;
        transform: translate(-50%, 0%);
    }

    img.card-img-top {
        position: relative;
        bottom: 10px;
    }

    .homepage-news-wrap {
        border: 1px solid #DEDEDE;
        padding: 2rem 2rem 1rem;
        margin-bottom: 0rem;
        margin-top: 2rem;
    }

    .homepage-news-region h2 {
        font-weight: 700;
        text-align: center;
    }

    .how-to-improve-clipper h2 {
        text-align: center;
        width: 100%;
    }

    .how-to-improve-clipper {
        background-image: none;
        background-repeat: no-repeat;
        background-position: 0px center;
        background-size: contain;
    }

    #main-nav ul.navbar-nav li.nav-item a {
        border-bottom: 0px solid #fff;
    }

    #main-nav ul.navbar-nav li.nav-item a:hover,
    #main-nav ul.navbar-nav li.nav-item a:active {
        border-bottom: 0px solid !important;
    }

    #main-nav ul.navbar-nav li.nav-item.active a {
        border-bottom: 0px !important;
    }

    #homepage-cards .clipper-cards {
        min-height: 400px;
    }

}

/* End XS */

/* ----------- Styles (SM)  ----------- */

/* This is for 200% screens */

@media (min-width: 576px) and (max-width: 767px) {

    #lower-banner {
        margin-top: 15px;
        position: relative;
        background-image: url(../img/homepage/Banner-lower-mobile.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        height: 240px;
    }

    .hmpg-pay-phone {
        position: relative;
        background-image: url(../img/homepage/Hero-banner-right-bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 360px;
        height: auto;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .mobile-promo-logos {
        position: absolute;
        bottom: 15px;
        left: 20px;
    }

    a.hero-image-link-btm-left {
        margin-right: 15px;
    }

    .desktop-promo-logos {
        position: absolute;
        display: flex;
        bottom: 6px;
        left: 33px;
    }

    .apay-logo-hmpg, .gpay-logo-hmpg {
        width: 45px;
        height: 15px;
        padding: 0px;
        border-radius: 10px;
    }

    a.hero-image-link-right {
        text-align: center;
        position: absolute;
        color: #fff;
        top: 10px;
        left: 35px;
        padding-bottom: 5px;
        font-size: 1.125rem;
        font-family: "utopia-std", serif;
        line-height: 1.2rem;
        font-weight: 600;
        border-bottom: 1px solid #fff;
    }

    .card-body h2 {
        font-size: 1.25rem;
    }

    .card-text {
        line-height: 1.25rem;
    }

    .homepage-news-region h2 {
        font-size: 1.5rem;
    }

    .btn-clipper {
        padding: .375rem !important;
        font-size: .5rem !important;
    }

    #main-banner .lead {
        position: absolute;
        bottom: 37px;
        right: 178px;
    }

    #main-banner {
        -webkit-background-size: 100% 100%;
        -moz-background-size: 100% 100%;
        -o-background-size: 100% 100%;
        background-size: 100% 100%;
        position: relative;
        margin-bottom: 2rem;
        display: inline-block;
    }

    .improve-clipper-section h2 {
        text-align: center;
    }

    #lower-banner {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    /* End 200% screens */

}


/* ---------------------- Tablet styles (SM)  ---------------------- */
@media (min-width: 768px) {

    a.hero-image-link-right:hover {
        text-decoration: none;
        transition: all 0.3s ease 0s;
    }

    .hmpg-pay-phone {
        position: relative;
        background-image: url(../img/homepage/Hero-banner-right-bg.jpg);
        background-repeat: no-repeat;
        background-size: contain;
        width: 366px;
        height: 263px;
    }

    .hmpg-START {
        position: relative;
        background-image: url(../img/homepage/START_hover.svg);
        background-repeat: no-repeat;
        background-size: auto;
        box-shadow: 0 3px 3px 0px rgb(194 194 194 / 50%);
    }

    .hmpg-START img {
        opacity: 1;
        transition: all 0.3s ease 0s;
        width: 215px;
        height: auto;
        position: relative;
        top: 0px;
    }

    .hmpg-START img:hover {
        opacity: 0;
    }

    a.hero-image-link {
        width: 100%;
        height: 185px;
    }

    #lower-banner {
        position: relative;
        background-image: url(../img/homepage/COYP-Banner-Horizontal-bg.svg);
        background-repeat: no-repeat;
        background-size: auto;
        width: 690px;
        height: auto;
    }

    .lower-banner-wrap {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 115px;
        align-items: center;
        justify-content: flex-end;
    }

    a.hero-image-link-right {
        text-align: left;
        position: absolute;
        color: #fff;
        left: 20px;
        padding: 0px 0 5px;
        font-size: 1.5rem;
        font-family: "utopia-std", serif;
        line-height: 1.5rem;
        font-weight: 600;
        border-bottom: 1px solid white;
    }

    .apay-logo-hmpg, .gpay-logo-hmpg {
        width: 80px;
        padding: 10px;
        margin-right: 21px;
        border: 1px solid white;
        border-radius: 10px;
    }

    /* Region 2 */
    .cards-news h2,
    .cards-news .h2,
    .homepage-news-region h2 {
        font-size: 1.5rem;
    }

    /* Region 3 */
    .how-to-improve-clipper {
        background-image: url(../img/homepage/improve-clip-bg-left.png);
        background-repeat: no-repeat;
    }

    .how-to-improve-clipper-rt img {
        position: relative;
        top: 50px;
        left: -40px;
    }

    .improve-clipper-section h2 {
        font-size: 1.75rem;
        font-weight: 700;
        color: #fff;
        text-align: center;
    }

    #main-banner,
    #lower-banner {
        -webkit-background-size: 100% 100%;
        -moz-background-size: 100% 100%;
        -o-background-size: 100% 100%;
        background-size: 100% 100%;
        position: relative;
        display: inline-block;
    }

    #main-banner .lead {
        position: absolute;
        bottom: 0px;
        right: 20px;
    }

    #lower-banner .lead {
        position: absolute;
    }

    #main-banner p.lead a {
        font-size: .8rem;
    }

    .hero-image-link:active {
        border: 0px;
    }

    #main-banner .lead {
        position: absolute;
        bottom: 42px;
        right: 240px;
    }

    .lead .btn-clipper {
        padding: .65rem;
        font-size: .5rem;
    }

    #homepage-cards .card-body {
        flex: 1 1 auto;
        padding: 0.5rem 1.25rem 2rem;
    }

    #homepage-cards .card-deck .card {
        margin-left: 7px;
        margin-right: 7px;
        flex: 1 0 0%;
    }

    #homepage-cards .cards-news img.card-img-top.hmpg-card-img-1 {
        position: relative;
        top: 0px;
        margin-top: 0rem;
    }

    #homepage-cards .cards-news img.card-img-top.hmpg-card-img-2 {
        position: relative;
        top: 0px;
        margin-top: 1rem;
    }

    #homepage-cards .cards-news img.card-img-top.hmpg-card-img-3 {
        position: relative;
        top: 0px;
        margin-top: 0rem;
    }

    #lower-banner .lead {
        bottom: 50px;
        right: 17px;
    }

}

/* End SM */

/* ----------- Desktops and laptops (MD) ----------- */
@media (min-width: 992px) {

    .lower-banner-wrap {
        height: 160px;
    }

    #lower-banner {
        width: 930px;
        height: 160px;
    }

    .hmpg-START img {
        width: 292px;
    }

    .hmpg-pay-phone {
        width: 366px;
        height: 354px;
    }

    a.hero-image-link-right {
        top: 30px;
        padding: 10px;
        font-size: 2rem;
        line-height: 2rem;
    }

    .apay-logo-hmpg,
    .gpay-logo-hmpg {
        width: 100px;
        margin-right: 35px;
    }

    #main-banner .lead {
        bottom: 50px;
        right: 328px;
    }

    .lead .btn-clipper {
        padding: .75rem;
        font-size: .75rem;
    }

    #homepage-cards .card-deck .card {
        margin-left: 15px;
        margin-right: 15px;
    }

    #homepage-cards .cards-news img.card-img-top.hmpg-card-img-1 {
        position: relative;
        top: 0px;
        margin-top: 1.5rem;
    }

    #homepage-cards .cards-news img.card-img-top.hmpg-card-img-2 {
        position: relative;
        top: 0px;
        margin-top: 1rem;
    }

    #homepage-cards .cards-news img.card-img-top.hmpg-card-img-3 {
        position: relative;
        top: 0px;
        margin-top: 0rem;
    }

    .btn-lower-banner {
        font-size: .875rem;
    }

    #lower-banner .lead {
        bottom: 68px;
        right: 35px;
    }

}

/* End MD */

/* ----------- Large Desktops (LG) ----------- */

@media (min-width: 1200px) {

    #lower-banner {
        width: 1110px;
        height: 185px;
        box-shadow: 0 3px 3px 0px rgb(194 194 194 / 50%);
    }

    .hmpg-START img {
        opacity: 1;
        transition: all 0.3s ease 0s;
        width: 351px;
        height: 421px;
        position: relative;
        top: 0px;
    }

    .lower-banner-wrap {
        height: 185px;
    }

    a.hero-image-link-right {
        top: 37px;
        left: 40px;
        padding: 5px 10px 0;
        font-size: 2.4rem;
        line-height: 2.8rem;
        border-bottom: 1px solid transparent;
    }

    .hmpg-pay-phone {
        width: 366px;
        height: 423px;
    }

    a.hero-image-link-right:hover:after {
        content: '';
        display: block;
        height: 2px;
        border-bottom: 1px solid #fff;
        text-decoration: none;
    }

    a.hero-image-link-left {
        width: 744px;
        height: 421px;
        box-shadow: 0 3px 3px 0px rgb(194 194 194 / 50%);
    }

    .lead .btn-clipper {
        padding: .75rem;
        font-size: .875rem;
    }

    a.hero-image-link-btm-left:hover,
    a.hero-image-link-btm-left:focus,
    a.hero-image-link-btm-left:focus-within,
    a.hero-image-link-btm-right:hover,
    a.hero-image-link-btm-right:focus,
    a.hero-image-link-btm-right:focus-within {
        border: 1px solid #fff;
    }

    a.hero-image-link-btm-right,
    a.hero-image-link-btm-left {
        border: 1px solid transparent;
        border-radius: 10px;
        padding: 10px 10px 5px;
        margin-right: 35px;
    }

    .apay-logo-hmpg, .gpay-logo-hmpg {
        width: 120px;
        padding: 0;
        margin-right: 0;
        border: none;
    }

    #main-banner .lead {
        bottom: 60px;
        right: 390px;
    }

    #homepage-cards .cards-news img.card-img-top.hmpg-card-img-3 {
        margin-top: 2rem;
    }

    #lower-banner .lead {
        bottom: 75px;
        right: 50px;
    }

}
