.five9-frame {
    right: 0 !important;
}

.five9-frame-full {
    position: absolute;
    bottom: 10%;
    right:0px;
    height: 590px;
    width:430px;
    display:block;
    pointer-events: none;
    overflow:hidden;
}
.open-header {
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-animation-duration: 1s;
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
    position: absolute;
    bottom: 400px;
    right: 266px;
    pointer-events: all;
}
.open-header #five9-popout-button {
    display: inline-block;
    position: absolute;
    float:right;
    right: 5px;
}
.close-header {
    position: absolute;
    bottom: 10px;
    right: 50px;
    pointer-events: all;
}
@media only screen and (min-width: 813px) and (min-height: 590px) {
    .close-header {
        -ms-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-animation-duration: 1s;
        -webkit-transition: 1s ease-in-out;
        -moz-transition: 1s ease-in-out;
        -o-transition: 1s ease-in-out;
        transition: 1s ease-in-out;
        position: absolute;
        bottom: 400px;
        right: -95px;
        pointer-events: all;
    }
}
.close-header #five9-popout-button {
    display: none;
}
.five9-frame .five9-chat-button{
    font-size: 2.5em;
    padding: 5px 80px 0 90px;
    width: 270px;
    height: 60px;
    padding-top: 5px;
    background: #17c4ba;
}

.five9-chat-button .five9-text{
    color : #FFF;
}

#embedded-frame{
    clear:both;
    width:360px;
    height: 590px;
    position: absolute;
    right: -360px;
    opacity: 1;
    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s; /* Firefox < 16 */
    -ms-animation: fadein 2s; /* Internet Explorer */
    -o-animation: fadein 2s; /* Opera < 12.1 */
    animation: fadein 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#div-chat{
    position: absolute;
    width: 1px;
    height: 590px;
    right:0px;
    /*overflow:hidden;*/
}
.close-frame-chat{
    -webkit-animation-duration: 1s;
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
    position: absolute;
    right: 0px;
}
.open-frame-chat{
    -webkit-animation-duration: 1s;
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
    position: absolute;
    pointer-events: all;
    width:1px !important;
    right: 360px !important;
    background-color: #fff;
}
.five9-frame-full div iframe{
    position:absolute;
    right: -350px;
}
.five9-text{
    margin-top: 5px;
}