/* ---------- mobile ---------- */

.has-button-look {
    font-size: 20px;
    border: 3px solid #000000 !important;
    background-color: #ffffff;
    line-height: 1.33333;
    width: 100%;
    padding: 20px 40px !important;
    max-width: 100% !important;
    font-weight: 400 !important;
}

.has-button-look:hover,
.youtube-module .youtube-wrapper .youtube-container a:hover,
.base-module .base-wrapper .base-container a:hover {
    background-color: #000000;
    color: #ffffff;
    transition: background-color 200ms ease-in-out;
}

a:hover,
button:hover {
    cursor: pointer;
}

/* ---------- tablet ---------- */

@media screen and (min-width: 48rem) {
     .has-button-look {
        max-width: 42rem !important;
    }
}

/* ---------- laptop ---------- */

@media screen and (min-width: 90rem) {
    .pdf-split-group .has-button-look {
        max-width: 27rem !important;
        margin: 0 !important;
    }

    .has-button-look[target="_blank"] {
        position: relative;
    }

    .has-button-look[target="_blank"]:after {
        content: url('https://redtoucan-admin.azurewebsites.net/media/jrki0meq/arrow-target-blank-link.svg');
        width: 3em; /* sets the width */
        height: 3em; /* sets the height */

        position: absolute;
        opacity: 0;
        font-size: 1.25em;
        margin-left: -1rem;
        margin-top: 1.5rem;
        transition: all 200ms ease-in-out;
    }

    .has-button-look[target="_blank"]:hover:after {
        filter: none !important;
        opacity: 1;
        margin-left: -.5rem;
        margin-top: -1em;
    }

    .has-button-look[target="_blank"]:hover {
        filter: none !important;
    }

    .has-button-look[target="_blank"]:hover:after {
        filter: none !important;
    }
}

/* ---------- latest changes ---------- */

*:not(.pdf-split-group) > .has-button-look,
#load-more,
.learn-more-button {
    background-color: transparent !important;

    &:hover {
        background-color: black !important;
        color: white !important;
    }
}

@media screen and (max-width: 1439px) {
    * > .has-button-look,
    #load-more,
    .learn-more-button {
        background-color: transparent !important;

       &:hover {
            background-color: black !important;
            color: white !important;
        }
    }
}

@media screen and (min-width: 90rem) {
    .hero-module .hero-wrapper .hero-container .description .explore-pdfs .pdf-split-group .has-button-look:hover {
        background-color: white;
        color: black;
    }

    .hero-module .hero-wrapper .hero-container .description .explore-pdfs .pdf-split-group .has-button-look[target="_blank"]:hover:after {
        filter: invert(1) !important;
    }

    
}