/*
Theme Name: Thorntons (Hello Elementor Child)
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.refreshing_rewards .box {
    width: 100%;
    margin: 2em auto;
    box-shadow: 0px 4px 16px 2px #ababab;
    background: #ffffff;
    overflow: hidden;
    padding: 5px;
}

.rr_errors li a {
    color: #fff !important;
    font-style: italic;
}

.field-icon {
    float: right;
    margin-left: -25px;
    margin-top: 13px;
    right: 5px;
    position: relative;
    z-index: 2;
}

.pro-driver-box {
    background: rgb(0, 0, 0);
    border-radius: 20px;
    padding: 20px;
}

.pro-driver-box h2 {
    color: rgb(255, 255, 255);
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 40px;
    margin-top: 0;
}

.pro-driver-box h5 {
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0;
}

.pro-driver-box button {
    min-width: 171px;
    height: 50px;
    border: 2px solid rgb(181, 8, 28);
    border-radius: 25px;
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
}

.pro-driver-learn-more-box {
    border-top: 1px solid #d1d1d1;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pro-driver-learn-more-box .pro-box-separator {
    height: 2px;
    background: rgb(209, 209, 209);
    width: 100%;
    margin-top: 18px;
    margin-bottom: 20px;
}

.pro-driver-learn-more-box div.logo {
    height: 24px;
    width: 168px;
    margin-top: 18px;
}

.pro-driver-learn-more-box h6 {
    width: 329px;
    height: 38px;
    color: rgb(0, 0, 0);
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    letter-spacing: 0;
    padding: 0 50px 0 50px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.pro-driver-learn-more-box a {
    width: 155px;
    height: 42px;
    color: rgb(0, 0, 0);
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0;
}

.pro-driver-learn-more-box a:visited {
    color: rgb(0, 0, 0);
}

.tnc-links {
    margin-top: 15px;
}

.pro-driver-box-hr {
    width: calc(100% - 42px);
    border-bottom: 1px solid #3d70b2;
    margin: 7px 20px 27px;
}

.pro-driver-box-terms {
    width: calc(100% - 42px);
    font-size: 16px;
    margin: 24px 20px;
}

.pro-driver-box-terms a {
    color: #0090b8;
}

.pro-driver-box-spinner {
    border: 4px solid rgb(0, 0, 0, 0);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#sms-opt-button-fake {
    display: flex;
    align-items: center;
}

.hidden {
    display: none !important;
}

.rr-app-cta-box {
    padding: 10px 0 60px;
}

.rr-app-cta-header {
    display: flex;
    justify-content: center;
}

.rr-app-cta-header p {
    font-size: 30px;
    font-weight: 500;
    text-align: center;
}

.rr-app-cta-images {
    display: flex;
    justify-content: center;
}

.rr-app-cta-button {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 60px;
    width: 140px;
    margin: 0 7px;
}

@media only screen and (max-width: 767px) {
    .rr-app-cta-header p {
        font-size: 16px;
    }

    .rr-app-cta-button {
        margin-bottom: 13px;
    }
}

.rr-app-cta-apple {
    background-image: url(/refreshing-rewards-core/images/png/app_store_flat.png);
}

.rr-app-cta-google {
    background-image: url(/refreshing-rewards-core/images/png/google_play_flat.png);
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: visible;
    z-index: 1;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 200px auto;
    padding: 20px;
    background: #fff;
    width: 50%;
    position: relative;
    border: 3px solid rgb(181, 8, 28);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup h2 {
    margin-top: 0;
    color: #333;
    text-align: center;
}
.popup .close {
    position: absolute;
    top: -18px;
    left: 5px;
    transition: all 200ms;
    font-size: 50px;
    text-decoration: none;
    color: #b1b1b1;
}
.popup .close:hover {
    text-decoration: none;
}

.popup .content {
    max-height: 30%;
    overflow: auto;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 15px;
}

.popup button {
    background: rgb(181, 8, 28);
    height: 42px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
}

.popup button:hover {
    background-color: #560f18;
}

@media screen and (max-width: 700px) {
    .popup {
        width: 94%;
    }
}

.no-margin-bottom {
    margin-bottom: 0;
}

.btn {
    width: fit-content;
    border: none;
    background-color: #b5091c;
    font-weight: 500;
}

.btn:hover {
    background-color: #560f18;
}

button:disabled {
    background-color: #a4a4a4 !important;
}

.delete-dismiss {
    background: transparent !important;
    color: #b5091c !important;
    margin-right: 27px !important;
}

/* TNC Content */
main.site-main.tnc-page {
    max-width: 1336px;
    /* min-height: 220px; */
    width: 100%;
}
.tncBanner {
    border-top: 30px solid #b5091c;
    background-color: #f2f2f2;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    background-repeat: repeat;
    position: relative;
    padding: 50px 50px 50px 50px;
    min-height: 292px;
}
.tncBanner::before {
    content: "";
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("https://www.mythorntons.com/wp-content/uploads/2021/02/Seamless_Bg_Pattern_Dots-01.png") repeat 0
        0 /2vw auto;
    z-index: 0;
}
.tncBanner::after {
    content: "";
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(0deg, #efefef 9%, #efefef00 90%);
    z-index: 0;
}
.tncBanner .tncBannerContent {
    position: relative;
    z-index: 2;
}
.tncBanner .tncBannerContent h1 {
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
}

.tnc-section {
    display: flex;
    margin-top: 31px;
    margin-bottom: 31px;
}
.tnc-section h2 {
    font-size: 30px;
    font-weight: 800;
    color: rgb(0, 0, 0);
    width: 31.607%;
    text-align: right;
    margin-top: 0;  
}
.tnc-section h2:after {
    content: "";
    border-bottom: 4px solid rgb(181, 8, 28);
    width: 60%;
    display: flex;
    margin-left: 40%;
    padding-top: 20px;
}
.tnc-section h2.notext:after {
    content:none
}
.tnc-section .tnc-content {
    text-align: left;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding-left: 30px;
    width: 68.393%;
    color: #000;
}
.tnc-section {
    display: flex;
    margin-top: 31px;
    margin-bottom: 31px;
}
.tnc-section h2 {
    font-size: 30px;
    font-weight: 800;
    color: rgb(0, 0, 0);
    width: 31.607%;
    text-align: right;
}
.tnc-section h2:after {
    content: "";
    border-bottom: 4px solid rgb(181, 8, 28);
    width: 60%;
    display: flex;
    margin-left: 40%;
    padding-top: 20px;
}
.tnc-section .tnc-content {
    text-align: left;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding-left: 30px;
    width: 68.393%;
    color: #000;
}

@media only screen and (max-width: 768px) {
    .tnc-section {
        flex-direction: column;
    }
    .tnc-section h2 {
        width: 100%;
        text-align: center;
    }
    .tnc-section h2::after {
        margin: 0 auto;
    }
    .tnc-section .tnc-content {
        width: 100%;
        text-align: center;
        padding: 25px 0px 0px 0px;
    }
    main.site-main.tnc-page {
        padding: 0;
    }
    .terms-content {
        padding: 0 25px;
    }
    .tncBanner .tncBannerContent h1 {
        font-size: 30px;
    }
}

/*
 * Refreshing Rewards login form ([login_form] shortcode / partials/loginForm.php).
 * The form is static markup imitating an Elementor form widget, so Elementor 4.x
 * per-widget CSS loading no longer ships these styles. Own them here instead.
 */
#refreshing_rewards_login .elementor-field-input-wrapper.elementor-field-input-wrapper-password {
    width: 100%;
}

#refreshing_rewards_login .elementor-button {
    background-color: rgb(181, 9, 28);
    border-bottom-color: rgb(204, 51, 102);
}

.login-error-message {
    color: rgb(239, 239, 239);
    background-color: rgb(181, 9, 28);
    border: none;
    border-radius: 0;
    text-align: center;
    padding: 16px;
    margin: 16px 0;
}
