﻿#pg-wdg-cct {
    position: fixed;
    left: 0px;
    bottom: -100%;
    width: 100%;
    color: #000;
    font-size: 14px;
    transition: bottom .3s ease;
    z-index: 100;
    display: none;
}

    #pg-wdg-cct.fixed {
        display: block;
    }

    #pg-wdg-cct .pg-wdg-cct-msg {
        display: block;
        -ms-flex: 1;
        flex: 1;
        line-height: 1.2em;
    }

    #pg-wdg-cct .pg-wdg-cct-full {
        opacity: 1;
        align-items: center;
        display: -ms-flexbox;
        display: flex;
        transition: all .5s ease;
        padding: 15px 35px 15px 25px;
        border-top: solid 1px rgb(150,150,150);
        background-color: rgba(200,200,200,0.9);
    }

    #pg-wdg-cct #pg-wdg-cct-close {
        font-weight: bold;
        color: rgba(0,0,0,0.7);
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 10px;
        line-height: 1em;
    }

    #pg-wdg-cct .pg-wdg-cct-short {
        opacity: 0;
        display: none;
        transition: all .5s ease;
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAlElEQVR4Ac3QTwqCYBCG8cfO4J87CWLlrYKOEkg3KK/SQi3CReHybTZCIA3fQqrfs513MyyhomG0zmwIsEfWYMnaga9C3MiJrII7osTVIHIma8QJ18hAxGTFgycuceFdixYbbLmiD/WUzNi5U8eM/H49OBCTUIcPYgDS8EECQBY+qEnJODqD/3xrj5xaZko657zga15GiO7RTPjIlQAAAABJRU5ErkJggg==');
        height: 24px;
        width: 24px;
    }

    #pg-wdg-cct.fixed {
        bottom: 0px;
    }

    #pg-wdg-cct > div {
    }

    #pg-wdg-cct .pg-wdg-cct-actions {
        display: block;
        margin-left: 10px;
    }

    #pg-wdg-cct a {
        color: #000;
        text-decoration: underline;
    }

    #pg-wdg-cct button {
        padding: 5px 20px;
        margin-left: 10px;
        color: #000;
    }

@media only screen and (max-width: 767px) {
    #pg-wdg-cct {
        font-size: 12px;
    }

        #pg-wdg-cct .pg-wdg-cct-full {
            padding: 10px 10px 10px 10px;
            display: block;
        }

        #pg-wdg-cct .pg-wdg-cct-actions {
            float: initial;
            display: block;
            text-align: center;
            margin-top: 4px;
        }

        #pg-wdg-cct.shorten {
            width: auto;
            color: #000;
            background-color: rgba(225,225,225,0.5);
            border-top-right-radius: 30px;
            padding: 10px 10px 10px 5px;
            border: solid 1px #ccc;
        }

            #pg-wdg-cct.shorten .pg-wdg-cct-short {
                opacity: 1;
                display: block;
            }

            #pg-wdg-cct.shorten .pg-wdg-cct-full {
                opacity: 0;
                display: none;
            }
}
