/*
Theme Name: My Twenty Twenty Child Theme
Theme URI: https://example.com
Description: A child theme for Twenty Twenty.
Author: Your Name
Author URI: https://example.com/
Template: twentytwenty
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

#waitlist{
    display: none;
    position: absolute;
    bottom: 10px;
    right: 0;
    max-width: 450px;
    width: 80%;
    z-index: 9999;
    background: #fff;
    height: 400px;
    padding: 30px;
    margin: 0;
    border-radius: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.6);
    border: 3px solid #000;
}

#popupSubscribe{
    cursor: pointer;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 95%;
    max-width: 450px;
    background: #3BAA35;
    z-index: 9999;
    padding-top: 20px;
    border-radius: 20px 20px 0 0;
    color: #fff;
    text-align: center;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

#waitlist .wpb_wrapper{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

#waitlist label,
#waitlist h1,
#waitlist h5,
#waitlist button,
#waitlist p{
    font-family: 'Open Sans', sans-serif;
}

#waitlist label{
    font-weight: 400;
}

#waitlist h1{
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 30px;
}

#current_text,
#current_waiter_spot,
#out_of,
#all_waiter_spots{
    margin: 0
}

#referral_link_url{
    font-style: italic;
    color: rgba(59,170,53,0.8)
}

#waitlist button{
    background: #3BAA35;
    margin: 20px 0
}

#current_text,
#current_waiter_spot,
#out_of,
#all_waiter_spots,
#demo_referral,
#referral_link_url,
.hide{
    display: none;
}

#filler,
#info_ref_link,
#error_message{
    margin: 0
}
#closeIcon{
    position: absolute;
    display: block;
    top: -5vh;
    right: -5vh;
    color: #000
}

@media screen and (max-width: 992px){
    #waitlist{
        left: 50%;
        transform: translate(-46%,0);
        width: 95%;
        max-width: inherit;
        display: none;
    }
    #popupSubscribe{
        left: 50%;
        transform: translate(-46%,0);
        width: 95%;
        max-width: inherit;
    }
    #waitlist .wpb_wrapper{
        width: inherit;
        padding: 10px;
        left: 50%;
        transform: translate(-50%, -50%)
    }
    #closeIcon{
        top: 2vh;
        right: 10px;
    }
}
