﻿/**
    Ii-future chat styles
*/

#chatroom {
    margin: 0 auto;
    min-width: 300px;
    max-width: 350px;
    padding: 0 10px;
    border: 1px solid #0094ff;
    background-color: #000000;
    border-radius: 5px;
    font-family: Calibri,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 100;
    position: absolute;
}

@media only screen and (max-width: 500px) {
    #chatroom {
        min-width: 95%;
        max-width: 95%;
        margin: 0 auto;
        width: 95%;
        padding: 0 10px;
        border: 1px solid #0094ff;
        background-color: #000000;
        border-radius: 5px;
        font-family: Calibri,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        z-index: 100;
    }
}

.headercontainer {
    position: relative;
}

.headercenter {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    font-size: 18px;
}

.headerimg {
    width: 100%;
    height: auto;
    opacity: 0.3;
}


#chatroommsg {
    max-height: 400px;
    overflow: auto;
}

.chatcontainer {
    border: 2px solid #dedede;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    margin: 10px auto;
}

.darker {
    border-color: #ccc;
    background-color: #ddd;
}

.chatcontainer::after {
    content: "";
    clear: both;
    display: table;
}

.chatcontainer img {
    float: left;
    max-width: 60px;
    width: 100%;
    margin-right: 10px;
    border-radius: 50%;
}

    .chatcontainer img.right {
        float: right;
        margin-left: 10px;
        margin-right: 0;
    }

.time-right {
    float: right;
    color: #aaa;
    vertical-align: baseline;
}

.time-left {
    float: left;
    color: #999;
    vertical-align: baseline;
}

.flash-button {
    background: blue;
    /*padding: 5px 10px;*/
    color: #fff;
    /*border: none;*/
    border-radius: 5px;
    animation-name: flash;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    /* Firefox 1+ */
    -webkit-animation-name: flash;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    /* Safari 3-4 */
    -moz-animation-name: flash;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
}

@keyframes flash {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1.0;
    }
}

/* Firefox 1+ */
@-webkit-keyframes flash {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1.0;
    }
}

/* Safari 3-4 */
@-moz-keyframes flash {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1.0;
    }
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-secondary:hover {
        color: #fff;
        background-color: #5a6268;
        border-color: #545b62;
    }

    .btn-secondary:focus, .btn-secondary.focus {
        box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
    }

    .btn-secondary.disabled, .btn-secondary:disabled {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

    .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
    .show > .btn-secondary.dropdown-toggle {
        color: #fff;
        background-color: #545b62;
        border-color: #4e555b;
    }

        .btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-secondary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
        }

.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

    .btn-dark:hover {
        color: #fff;
        background-color: #23272b;
        border-color: #1d2124;
    }

    .btn-dark:focus, .btn-dark.focus {
        box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
    }

    .btn-dark.disabled, .btn-dark:disabled {
        color: #fff;
        background-color: #343a40;
        border-color: #343a40;
    }

    .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
    .show > .btn-dark.dropdown-toggle {
        color: #fff;
        background-color: #1d2124;
        border-color: #171a1d;
    }

        .btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,
        .show > .btn-dark.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
        }

.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

    .btn-warning:hover {
        color: #212529;
        background-color: #e0a800;
        border-color: #d39e00;
    }

    .btn-warning:focus, .btn-warning.focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
    }

    .btn-warning.disabled, .btn-warning:disabled {
        color: #212529;
        background-color: #ffc107;
        border-color: #ffc107;
    }

    .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
    .show > .btn-warning.dropdown-toggle {
        color: #212529;
        background-color: #d39e00;
        border-color: #c69500;
    }

        .btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,
        .show > .btn-warning.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
        }


/* profile menu */
ul.hmenu {
    list-style-type: none;
    margin: 5px 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent; /* #333; */
    display: block;
}

    ul.hmenu li {
        float: left;
        border-right: 1px solid #bbb;
        background-color: rgb(250,125,0); /* #265a88 */
        border-radius: 5px;
        margin-left: 2px;
    }

        ul.hmenu li:first-child {
            background-color: white;
            border-radius: 0px;
            margin-right: 5px;
            border-style: none;
        }

        ul.hmenu li:last-child {
            border-right: none;
        }

        ul.hmenu li a {
            display: block;
            color: black;
            text-align: center;
            padding: 2px 5px;
            text-decoration: none;
            font-size: 11px;
        }

            ul.hmenu li a:hover:not(.active) {
                font-weight: bold;
            }

    ul.hmenu .active {
        background-color: #4CAF50;
    }
