/*
	Agency Popup
*/
#chat-popup2 {
    position: fixed;
    top: -150%;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000000000;
    background-color: rgba(43, 43, 43, 0.93);
    transition: all 0.8s;
    opacity: 1;
    visibility: visible;
    display: block;
}

#chat-popup2.open {
    opacity: 1;
    visibility: visible;
    top: 0;
}

#chat-popup2 div.content {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    background-image: url(/wp-content/themes/angelsense/images/chat-widget/chat-popup-bg.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    width: 778px;
    height: calc(778px * (431/778));
    text-align: center;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    border-radius: 10px;
}

#chat-popup2 div.content div.wrap {
    width: 50%;
    position: relative;
    left: 70px;
}

#chat-popup2 div.content div.wrap h2 {
    text-transform: uppercase;
    font-size: 42px;
    color: #292929;
    font-weight: 600;
    line-height: 45px;
}

#chat-popup2 div.content div.wrap p {
    font-size: 18px;
    color: #292929;
    line-height: 22px;
    margin: 0.5em 0em 1.5em 0em;
    font-weight: 300;
}

#chat-popup2 div.content div.wrap a.chat_tel {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

#chat-popup2 div.content div.wrap a.chat_tel span {
    color: #f03b1f;
    font-weight: 700;
    display: block;
    font-size: 36px;
}

#chat-popup2 div.content div.wrap > span {
    display: block;
    color: #292929;
    font-size: 18px;
    margin: 0.5em 0em;
}

#chat-popup2 div.content div.wrap a.chat {
    display: inline-block;
    text-transform: uppercase;
    font-size: 22px;
    color: #f03b1f;
    border: 1px solid #f03b1f;
    padding: 0em 0.5em;
    border-radius: 8px;
    vertical-align: middle;
    padding: 0.2em 0.6em;
}

#chat-popup2 div.content div.wrap a.chat span {
    position: relative;
    font-weight: 600;
}

#chat-popup2 div.content div.wrap a.chat span:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    background-image: url(/wp-content/themes/angelsense/images/chat-widget/support.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 33px;
    height: 35px;
    margin-right: 0.3em;
}

#chat-popup2 a.remove {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    width: 1em;
    height: 1em;
    z-index: 100000;
    background-color: transparent;
    background-image: url(/wp-content/themes/angelsense/images/chat-widget/X-close-desk.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    padding: 0.7em;
}

/*
    Mobile Version
*/

body.mobile #chat-popup2 div.content {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    background-image: url(/wp-content/themes/angelsense/images/chat-widget/chat-popup-bg-mobile.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    width: 95%;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    padding: 2em 1em;
    padding-bottom: 300px;
    height: auto;
}

body.mobile #chat-popup2 div.content div.wrap {
    width: 100%;
    left: 0;
}

body.mobile #chat-popup2 div.content div.wrap h2 {
    font-size: 34px;
}

body.mobile #chat-popup2 div.content div.wrap p {
    font-size: 17px;
}

@media only screen and (max-width: 375px) {
    body.mobile #chat-popup2 div.content {
        padding-bottom: 275px;
    }
    body.mobile #chat-popup2 div.content div.wrap p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 325px) {
    body.mobile #chat-popup2 div.content div.wrap h2 {
        font-size: 28px;
    }

    body.mobile #chat-popup2 div.content div.wrap p br {
        display: none;
    }

    body.mobile #chat-popup2 div.content {
        padding-bottom: 230px;
    }

    body.mobile #chat-popup2 div.content div.wrap p {
        font-size: 16px;
    }

    body.mobile #chat-popup2 div.content div.wrap a.chat_tel {
        font-size: 18px;
    }
}