@import url("//cloud.typography.com/6997314/7895552/css/fonts.css");  
@import url('//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,400italic,600italic,700italic');

@font-face {
    font-family: 'adoptuskids';
    src: url('https://adoptuskids.org/_inc/fonts/adoptuskids.eot');
    src: url('https://adoptuskids.org/_inc/fonts/adoptuskids.eot?#iefix') format('embedded-opentype'), url('https://adoptuskids.org/_inc/fonts/adoptuskids.woff') format('woff'), url('https://adoptuskids.org/_inc/fonts/adoptuskids.ttf') format('truetype'), url('https://adoptuskids.org/_inc/fonts/adoptuskids.svg#adoptuskids') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*!
 * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("https://adoptuskids.org/_inc/fonts/webfonts/fa-solid-900.eot");
    src: url("https://adoptuskids.org/_inc/fonts/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("https://adoptuskids.org/_inc/fonts/webfonts/fa-solid-900.woff2") format("woff2"), url("https://adoptuskids.org/_inc/fonts/webfonts/fa-solid-900.woff") format("woff"), url("https://adoptuskids.org/_inc/fonts/webfonts/fa-solid-900.ttf") format("truetype"), url("https://adoptuskids.org/_inc/fonts/webfonts/fa-solid-900.svg#fontawesome") format("svg");
}

.fa,
.fas {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}




#initializing-page,
#information-page,
#connecting-page,
#error-page,
#conversation-page,
#sent-page {
    background-color: #ffffff !important;
    /* font-family: "Source Sans Pro" !important; */
    font-family: "Verlag A", "Verlag B" !important;
    color: #3e3e3e !important;
}


/* Hide provider link */
.provider, .provider:hover, .provider:focus, .provider-text {
    cursor: default !important;
    display: none !important;
}





/*   CHAT WIDGET MINIMIZED  */

.five9-frame {
    display: block !important;
}

.ausk-maximize-button {
    height: 46px !important;
    width: 112px !important;
    bottom: 35px !important;
    padding: 0px 0px 0px 0px !important;
    background: #1b6074 !important;
    border-radius: 23px !important;
    border-color: #1b6074 !important;
    box-shadow: 0px 4px 10px #0000004D !important;
}

@media only screen and (max-width: 400px) {

    .ausk-maximize-button {
        bottom: 15px !important;
    }
}


    .ausk-maximize-button:hover {
        background-color: #3e3e3e !important;
        border-color: #3e3e3e !important;
    }

    @media only screen and (max-width: 780px) {

        .ausk-maximize-button:hover {
            background-color: #1b6074 !important;
            border-color: #1b6074 !important;
        }
    }


    .ausk-chat-icon-text {
        padding: 12px 0 0 0 !important;
        font-family: "Verlag A", "Verlag B" !important;
        font-size: 18px !important;
        font-weight: 400 !important;
        margin: 0 0 0 0;
        color: #ffffff !important;
    }

    @media only screen and (max-width: 780px) {

        .ausk-chat-icon-text {
            padding: 10px 0 0 0 !important;
        }
    }

    .ausk-chat-icon-text span {
        width: 134px !important;
    }

    .ausk-chat-icon-image span {
        background-size: 28px 28px !important;
        width: 50px !important;
        top: 4px !important;
    }

    @media only screen and (max-width: 780px) {

        .ausk-maximize-button {
            width: 68px !important;
            height: 40px !important;
        }

        .ausk-chat-icon-image {
            display: none !important;
        }

        .ausk-chat-icon-text span {
            width: 68px !important;
            top: 3px !important;
        }
    }

    /*     CHAT WINDOW MAXIMIZED   */

    #five9-minimize-button {
        height: auto !important;
    }

    #five9-minimize-button,
    div.five9-header {
        border-radius: 10px 10px 0 0 !important;
    }

    #embedded-frame {
        border-radius: 0 0 10px 10px !important;
        width: 375px !important;
    }

    .ausk-maximized-frame {
        right: 150px !important;
        bottom: 55px !important;
        border-radius: 10px !important;
        box-shadow: 0px 4px 10px #0000004D !important;
    }


    #five9-minimize-button {
        text-align: right !important;
        background-color: transparent !important;
    }

    #five9-frame-full .five9-chat-button {
        text-align: right !important;
        line-height: 2.5em !important;
        background-color: transparent !important;
        background-image: none !important;
    }

    #five9-frame-full div.five9-header {
        text-align: right !important;
        height: 55px !important;
        background-color: #1B6074 !important;
        background-image: url(https://adoptuskids.org/_img/AUSK_Logo_NoTagline_White.png) !important;
        background-repeat: no-repeat !important;
        background-position-y: center !important;
        background-position-x: center !important;
        background-size: 160px auto !important;
    }



    /*********************************************************/
    /*                General settings                       */
    /*********************************************************/

    div.ui-header {
        background-color: #dbdbdb !important;
        border-color: #dbdbdb !important;
    }







    /*********************************************************/
    /*                INFORMATION PAGE                       */
    /*                                                       */
    /*                                                       */
    /*    this page is the first page where the user         */
    /*    enters their name and message                      */
    /*********************************************************/


    /*  Header text and icon  */

    div.five9-frame #five9-minimize-button .five9-text,
    div.five9-frame #five9-minimize-button .five9-icon {
        visibility: hidden !important;
    }

    .five9-frame #five9-popout-button {
        margin-left: 10px !important;
        background-size: 25px 25px !important;
    }

    .five9-frame #five9-minimize-icon {
        background-size: 25px 14px !important;
    }


    @media only screen and (max-width: 375px) {

        #information-page div.ui-header {
            background-color: #ffffff !important;
            border-color: #ffffff !important;
        }
    }

    /*  Name and Message labels  */

    #information-page #name-form-control label,
    #information-page #question-form-control label,
    #information-page #email-form-control label
    {
        visibility: hidden !important;
    }

        #information-page #name-form-control label:after,
        #information-page #question-form-control label:after,
        #information-page #email-form-control label:after,
        #information-page div.ui-header:after {
            visibility: visible !important;
            display: block !important;
            font-size: 18px !important;
            font-weight: 700 !important;
        }

        #information-page #name-form-control label:after {
            content: 'Name (required)';
        }
        
        #information-page #email-form-control label:after {
            content: 'Email (required)';
        }

        #information-page #question-form-control label:after {
            content: 'Message (required)';
        }


    #information-page div.ui-header {
        visibility: hidden !important;
    }


        #information-page div.ui-header:after {
            position: relative !important;
            bottom: 44px !important;
            content: 'Chat with an AdoptUSKids foster care and adoption specialist.';
            font-weight: 400 !important;
            padding-top: 20px !important;
            padding-bottom: 20px !important;
            padding-left: 15px !important;
            padding-right: 15px !important;
        }

    #information-page div.ui-footer {
        bottom: 12px !important;
    }

    @media only screen and (max-width: 374px) {

        #information-page div.ui-header h1 {
            visibility: hidden !important;
        }

        #information-page div.ui-header {
            position: relative !important;
            bottom: -15px !important;
            content: '';
            background-image: url(https://adoptuskids.org/_img/AUSK_Logo_NoTagline_RGB.png) !important;
            background-color: #ffffff !important;
            background-size: 55% !important;
            background-repeat: no-repeat !important;
            background-position-x: center !important;
            padding-left: 0px !important;
            padding-right: 0px !important;
            visibility: visible !important;
        }

            #information-page div.ui-header:after {
                bottom: 0px !important;
            }

        #information-page #input-container {
            top: 110px !important;
        }

        #information-page div.ui-footer {
            bottom: 35px !important;
        }

        #information-page div.ui-header:after {
            padding-top: 14px !important;
        }
    }


    @media only screen and (max-width: 360px) {

        #information-page div.ui-footer {
            bottom: 10px !important;
        }
    }

    #information-page #name-form-control div.ui-input-text,
    #information-page #email-form-control div.ui-input-text{
        border: none !important;
        height: 35px !important;
        width: auto !important;
    }


    #information-page #name-form-control input,
    #information-page #email-form-control input,
    #information-page #question-form-control textarea {
        border-radius: 3px !important;
        border-width: 1px !important;
        border-color: #000000 !important;
        border-style: solid !important;

        font-family: "Arial" !important;
        font-size: 17px !important;
        color: #292929 !important;
    }

    #information-page #question-form-control textarea {
        height: 90px !important;
        resize: none !important;
    }


    #information-page #start-chat-button {
        font-family: "Verlag A", "Verlag B" !important;
        background-color: #1B6074 !important;
        font-size: 20px !important;
        color: #1B6074 !important;
    }

        #information-page #start-chat-button:hover {
            background-color: #3e3e3e !important;
            border-color: #3e3e3e !important;
            color: #3e3e3e !important;
        }

        #information-page #start-chat-button::after {
            font-family: "Verlag A", "Verlag B" !important;
            content: "Start chat";
            background-color: #1B6074 !important;
            font-size: 20px !important;
            color: #ffffff !important;
            position: absolute !important;
            left: calc(50% - 43px) !important;
        }

        #information-page #start-chat-button:hover::after {
            background-color: #3e3e3e !important;
        }


    input#name:focus-visible,
    input#email:focus-visible,
    textarea#question:focus-visible {
        outline-color: inherit !important;
        outline-style: auto !important;
        outline-width: 1px !important;
        outline-offset: 0px !important;
    }


    /*********************************************************/
    /*                CONNECTING PAGE                        */
    /*                                                       */
    /*                                                       */
    /*    this page appears when an agent is logged in       */
    /*    but not available                                  */
    /*********************************************************/




    #connecting-page h1 {
        visibility: hidden !important;
    }


    #connecting-page .ui-overlay-a.in {
        background-color: #ffffff !important;
        opacity: 1 !important;
    }

    #connecting-page #terminate-connecting-button {
        color: #3e3e3e !important;
    }

        #connecting-page #terminate-connecting-button:hover {
            text-decoration: underline !important;
        }


    #error-page {
    }



    /*********************************************************/
    /*                CONVERSATION PAGE                      */
    /*                                                       */
    /*                                                       */
    /*    this page is the primary conversation between      */
    /*    the user and the agent                             */
    /*********************************************************/

    #conversation-page div.inner-container {
        width: 70% !important;
    }

    #conversation-page div.ui-header h1 {
        visibility: hidden !important;
    }

    @media only screen and (max-width: 374px) {
        #conversation-page div.ui-header h1 {
            visibility: visible !important;
        }
    }




    #conversation-page #header-left-button-container a:hover {
        color: #1B6074 !important;
    }


    #conversation-page #header-left-button-container a i {
        display: inline-block;
        font: normal normal normal 14px/1 'Font Awesome 5 Free';
        font-size: 14px;
        font-size: inherit;
        text-rendering: auto;
    }

    .fa-bell-o::before {
        content: "\f6a9" !important;
        font-size: 22px !important;
    }

    .fa-bell-slash-o::before {
        content: "\f026" !important;
        font-size: 22px !important;
    }

    .fa-print::before {
        font-size: 16px !important;
    }

    .fa-envelope-o::before {
        content: "\f0e0" !important;
        font-size: 17px !important;
    }



    #conversation-page div.message-container-agent div.message-container {
        overflow: visible !important;
    }

    #conversation-page div.message-container-agent div.message {
        font-family: "Arial" !important;
        position: relative !important;
        left: -5px !important;
    }

        #conversation-page div.message-container-agent div.message a {
            text-decoration: none !important;
        }

            #conversation-page div.message-container-agent div.message a:hover {
                text-decoration: underline !important;
            }

    #conversation-page div.message-container-client .message-header {
        margin-right: 10px !important;
    }

    #conversation-page div.message-container-agent div.message {
        background-color: #dfdfdf !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        border-radius: 10px !important;
        font-family: "Arial" !important;
    }


    #conversation-page div.message-container-client div.message {
        background-color: #000000 !important;
        border-bottom-color: #ffffff !important;
        color: white !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        border-radius: 10px !important;
        font-family: "Arial" !important;
    }

    #conversation-page .ui-input-text input::placeholder,
    #conversation-page .ui-input-search input::placeholder,
    #conversation-page textarea.ui-input-text::placeholder {
        color: #000000 !important;
    }

    #conversation-page textarea.ui-input-text,
    #conversation-page #send-button {
        font-family: "Arial" !important;
    }

    #conversation-page textarea.ui-input-text {
        border-style: solid !important;
        border-radius: 5px !important;
        border-color: #000000 !important;
    }

    #conversation-page .ui-footer.expanded .input-message-table td:nth-child(2),
    #conversation-page .input-message-table td:nth-child(2) {
        border-style: none !important;
        padding-left: 2px !important;
        padding-right: 20px !important;
    }

    #conversation-page #send-button {
        background-color: #1b6074 !important;
        color: #ffffff !important;
        border-radius: 5px !important;
        height: 36px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }



    #conversation-page .ui-footer.expanded #send-button {
        padding-bottom: 4px !important;
        margin-bottom: 4px !important;
    }

    #conversation-page .ui-footer-expanded #send-button:hover,
    #conversation-page .ui-footer #send-button:hover {
        background-color: #3e3e3e !important;
    }

    #conversation-page div#toggle-high-contrast {
        display: none;
    }

    #conversation-page .ui-overlay-a.in {
        background-color: #ffffff !important;
        opacity: 1 !important;
    }

    #connecting-page #connecting-terminate-chat-popup p,
    #conversation-page #conversation-terminate-chat-popup p {
        visibility: hidden !important;
    }

    #connecting-page #connecting-terminate-chat-popup p:before,
    #conversation-page #conversation-terminate-chat-popup p:before {
        content: "Are you sure you want to end this chat session?";
        visibility: visible !important;
    }

    #conversation-page #conversation-terminate-chat-popup p {
        padding-bottom: 20px;
    }


    #connecting-page #connecting-terminate-chat-popup a,
    #conversation-page #conversation-terminate-chat-popup a {
        text-decoration: none !important;
        border-style: solid !important;
        border-color: #1B6074 !important;
        border-radius: 5px !important;
        padding-top: 10px !important;
        padding-right: 8px !important;
        padding-bottom: 10px !important;
        padding-left: 8px !important;
        width: calc(50% - 35px) !important;
        font-size: 20px !important;
        color: #ffffff !important;
    }

        #connecting-page #connecting-terminate-chat-popup a.terminate-chat-confirm-button,
        #conversation-page #conversation-terminate-chat-popup a.terminate-chat-confirm-button {
            background-color: #1B6074 !important;
            color: #1B6074 !important;
        }

            #connecting-page #connecting-terminate-chat-popup a.terminate-chat-confirm-button:before,
            #conversation-page #conversation-terminate-chat-popup a.terminate-chat-confirm-button:before {
                color: #ffffff !important;
                font-size: 20px !important;
                content: "End chat" !important;
                padding-left: 12px !important;
            }

        #connecting-page #connecting-terminate-chat-popup a.terminate-chat-cancel-button,
        #conversation-page #conversation-terminate-chat-popup a.terminate-chat-cancel-button {
            color: #3e3e3e !important;
            border-color: #3e3e3e !important;
            background-color: #ffffff !important;
            border-width: 1px !important;
            padding-top: 12px !important;
            padding-bottom: 12px !important;
        }

        #connecting-page #connecting-terminate-chat-popup a:hover,
        #conversation-page #conversation-terminate-chat-popup a:hover {
            background-color: #3e3e3e !important;
            border-color: #3e3e3e !important;
        }


        #connecting-page #connecting-terminate-chat-popup a.terminate-chat-cancel-button:hover,
        #conversation-page #conversation-terminate-chat-popup a.terminate-chat-cancel-button:hover {
            color: #ffffff !important;
        }




    #conversation-page table.input-message-table {
        border-collapse: collapse !important;
    }

        #conversation-page table.input-message-table td {
            border-style: none;
        }

    #conversation-page a:hover 
    {
        text-decoration: underline !important;
    }


    #conversation-page div.thank-you {
        position: relative !important;
    }

        #conversation-page div.thank-you a.start-over-button,
        #conversation-page div.thank-you a#footer-close-button {
            visibility: hidden !important;
            content: '';
            font-size: 0px !important;
        }

            #conversation-page div.thank-you a.start-over-button::before,
            #conversation-page div.thank-you a#footer-close-button::before {
                visibility: visible !important;
                position: relative !important;
                padding: 0px !important;
                margin: 0px !important;
                text-transform: none !important;
            }


        #conversation-page div.thank-you a::after,
        #conversation-page div.thank-you a::before,
        #conversation-page div.end-who {
            font-size: 17px !important;
        }

        #conversation-page div.thank-you a.start-over-button::before {
            content: 'Start a new chat';
        }

        #conversation-page div.thank-you a#footer-close-button::before {
            content: 'Close window';
        }

        #conversation-page div.thank-you a:hover {
            text-decoration: underline !important;
        }




    /*********************************************************/
    /*                EMAIL TRANSCRIPT SCREEN                */
    /*********************************************************/


.chat-popup.request-transcript footer button.five9-accept-btn {
    background-color: #1B6074 !important;
    color: #ffffff !important;
    border-color: #1B6074 !important;
    font-family: "Verlag A", "Verlag B" !important;
}

    .chat-popup.request-transcript footer button.five9-accept-btn:hover {
        background-color: #3e3e3e !important;
        border-color: #3e3e3e !important;
        color: #ffffff !important;
    }

.chat-popup.request-transcript footer .five9-cancel-btn {
    color: #3e3e3e !important;
    border-color: #3e3e3e !important;
    background-color: #ffffff !important;
    border-style: solid !important;
    font-family: "Verlag A", "Verlag B" !important;
}

    .chat-popup.request-transcript footer .five9-cancel-btn:hover {
        background-color: #3e3e3e !important;
        border-color: #3e3e3e !important;
        color: #ffffff !important;
    }




.ui-overlay-a.in {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

.chat-popup.request-transcript main div input.ok {
    border-color: #3e3e3e !important;
}

.chat-popup.request-transcript footer button {
    border-style: solid !important;
    border-width: 1px !important;
    background-color: #1B6074 !important;
    color: #ffffff !important;
    border-color: #1B6074 !important;
    font-family: "Verlag A", "Verlag B" !important;
}

    .chat-popup.request-transcript footer button:hover {
        background-color: #3e3e3e !important;
        border-color: #3e3e3e !important;
        color: #ffffff !important;
    }

#five9-main-menu .fa-lg {
    vertical-align: 0% !important;
}

.chat-popup.request-transcript main {
    font-family: "Verlag A", "Verlag B" !important;
    color: #3e3e3e !important;
    font-size: 20px !important;
}


.chat-popup.request-transcript .confirmation main {
    content: '' !important;
    visibility: hidden !important;
    font-size: 0px !important;
}

    .chat-popup.request-transcript .confirmation main:before {
        content: 'A transcript of this conversation will be sent to the email you provided.' !important;
        visibility: visible !important;
        font-family: "Verlag A", "Verlag B" !important;
        color: #3e3e3e !important;
        font-size: 20px !important;
    }

