﻿body {
    background: #efe7dd url("images/ek_bg.jpg") repeat;
}

html {
    height: 100%;
}

    html body {
        height: 100%;
        overflow: hidden;
    }

        html body .container-fluid.body-content {
            position: absolute;
            top: 60px;
            bottom: 60px;
            right: 0;
            left: 0;
            overflow-y: auto;
            z-index: 0;
        }

header {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0;
    background-color: #000;
    height: 50px;
}

footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    
    height: 50px;
}

.img-responsive {
    margin: 0 auto;
}

.row-m-t {
    margin-top: 20px
}


.bg {
    width: 100%;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid black;
}

.top-buffer {
    margin-top: 10px;
}

.ek_gold {
    color: #f3bf2e
}



.message {
    color: #000;
    clear: both;
    line-height: 23px;
    font-size: 20px;
    padding: 8px;
    position: relative;
    margin: 8px 0;
    width:100%;
    max-width: 100%;
    word-wrap: break-word;
    z-index: -1;
}

    .message img {
        margin-top: 20px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

.message:after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
    }



.chip {
    display: inline-block;
    padding: 8px 25px;
    /*height: 50px;*/
    font-size: 20px;
    font-weight:300; 
    /*line-height: 50px;*/
    border-radius: 15px;
    color:#000;
    background-color:#f3bf2e;
    margin-top: 10px;
    margin-left: 10px;
}

    .chip img {
        float: left;
        margin: 0 10px 0 -25px;
        height: 50px;
        width: 50px;
        border-radius: 50%;
    }














.metadata {
    display: inline-block;
    float: right;
    padding: 0 0 0 7px;
    position: relative;
    bottom: -4px;
}

    .metadata .time {
        color: rgba(0, 0, 0, .45);
        font-size: 11px;
        display: inline-block;
    }

    .metadata .tick {
        display: inline-block;
        margin-left: 2px;
        position: relative;
        top: 4px;
        height: 16px;
        width: 16px;
    }

        .metadata .tick svg {
            position: absolute;
            transition: .5s ease-in-out;
        }

            .metadata .tick svg:first-child {
                -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
                -webkit-transform: perspective(800px) rotateY(180deg);
                transform: perspective(800px) rotateY(180deg);
            }

            .metadata .tick svg:last-child {
                -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
                -webkit-transform: perspective(800px) rotateY(0deg);
                transform: perspective(800px) rotateY(0deg);
            }

    .metadata .tick-animation svg:first-child {
        -webkit-transform: perspective(800px) rotateY(0);
        transform: perspective(800px) rotateY(0);
    }

    .metadata .tick-animation svg:last-child {
        -webkit-transform: perspective(800px) rotateY(-179.9deg);
        transform: perspective(800px) rotateY(-179.9deg);
    }

.message:first-child {
    margin: 16px 0 8px;
}

.message.received {
    background: #fff;
    border-radius: 0px 5px 5px 5px;
    float: left;
}

    .message.received .metadata {
        padding: 0 0 0 16px;
    }

    .message.received:after {
        border-width: 0px 10px 10px 0;
        border-color: transparent #fff transparent transparent;
        top: 0;
        left: -10px;
    }

.message.sent {
    background: #e1ffc7;
    border-radius: 5px 0px 5px 5px;
    float: right;
}

    .message.sent:after {
        border-width: 0px 0 10px 10px;
        border-color: transparent transparent transparent #e1ffc7;
        top: 0;
        right: -10px;
    }






.conversation-compose {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    overflow: hidden;
    z-index: 2;
}






    .conversation-compose .send {
        background: transparent;
        border: 0;
        cursor: pointer;
        flex: 0 0 auto;
        margin-left: 8px;
        margin-right: 8px;
        padding: 0;
        position: relative;
        outline: none;
    }

        .conversation-compose .send .circle {
            background: #008a7c;
            border-radius: 50%;
            color: #fff;
            position: relative;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .conversation-compose .send .circle i {
                font-size: 20px;
                margin-left: 5px;
            }








/* Small Screens */

@media (max-width: 768px) {
    .marvel-device.nexus5 {
        border-radius: 0;
        flex: none;
        padding: 0;
        max-width: none;
        overflow: hidden;
        height: 100%;
        width: 100%;
    }