﻿body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
    background-color: black !important;
    color: white !important;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}



#services img{
    position:absolute;
    right:5px;
    top:15px;
    
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

/* CSS for frontend chat box*/
.chat {
    background-color: transparent !important;
    overflow: hidden;
    color:black !important;
}


    #chatLink a {
        color: inherit;
        text-decoration: none;
    }

.chatIntroduce{
    width:100%;
}
.chatIntroduce input{
    width:95%;
    margin:0 10px 0 10px;
    border-radius:2px;
}

.chatSubject {
    width: 100%;
}

    .chatSubject select {
        margin: 0 0 0 10px;
    border-radius:2px;
    }

    .alert{
        margin-top:10px;
    }

.chatStartChat {
    width: 100%;
    text-align: center;
    margin: 10px 0 0 0;
}

.chatStartChat button{
    background-color:purple;
    border-radius:2px;
    border:none;
    color:white;
    min-width:100px;
    padding:0 0 2px 0;
}

#chatConvo{
    display:block;
}

.chatHeader{
    border-bottom:1px solid lightgray;
}

    .chatHeader .agentName{
        color:purple;
    }

    .chatHeader .department{
        font-size:10px;
        color:gray;
    }

    .chatHeader .float-right{
        margin: 5px 5px 0 0;
    }
    .chatHeader a{
        color:inherit;
    }

    .chatHeader a i:hover {
        color: purple;
        font-weight:900;
    }

#chatLog{
    overflow-y:scroll;
    width:100%;
    height:150px;
}

#chatLog .statusMsg{
    color:gray;
    text-align:center;
    width:100%;
    font-size:12px;
}

.chatMsgBox{
    height:100px;
    position:absolute;
    bottom:0px;
    width:100%;
    border-top:1px solid lightgray;
    padding:10px;
}

#txtNewMsg{
    width:100%;
    box-sizing:border-box;
    max-width:none !important;
    border-radius:5px;
    font-size:12px;
    resize:none;
}

.chatMsgBox a {
    color: gray;
    font-size: 12px;
    bottom: 10px;
    position: absolute;
    left: 10px;
}

#chatLog .name{
    font-weight:bold;
}

#chatLog .msg-client {
    float: right;
    background: #F4CCFF;
    padding: 5px;
    border-radius: 5px;
    margin-right: 10px;
    position: relative;
    font-size:12px;
}

    #chatLog .msg-client::after {
        content: '';
        position: absolute;
        right: 0;
        width: 0;
        height: 0;
        border: 5px solid transparent;
        border-left-color: #F4CCFF;
        border-right: 0;
        margin-top: -5px;
        margin-right: -5px;
    }

#chatLog .msg-agent {
    float: left;
    background: #E37FFF;
    padding: 5px;
    border-radius: 5px;
    margin-left: 10px;
    position: relative;
    font-size: 12px;
}

    #chatLog .msg-agent::after {
        content: '';
        position: absolute;
        left: 0;
        width: 0;
        height: 0;
        border: 5px solid transparent;
        border-right-color: #E37FFF;
        border-left: 0;
        margin-top: -5px;
        margin-left: -5px;
    }

#chatLog .msgSpace{
    display:block;
    position:relative;
    clear:both;
    line-height:5px;
}

.tr-link{
    cursor:pointer;
}

tr.clickable{
    cursor: pointer;
}