﻿
@font-face {
    font-family: 'IRANSans';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/IRANSansWeb_Bold.eot');
    src: url('../fonts/IRANSansWeb_Bold.eot?#iefix') format("embedded-opentype"), url('../fonts/IRANSansWeb_Bold.woff2') format("woff2"), url('../fonts/IRANSansWeb_Bold.woff') format("woff"), url('../fonts/IRANSansWeb_Bold.ttf') format("truetype")
}

@font-face {
    font-family: 'IRANSans';
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/IRANSansWeb_Medium.eot');
    src: url('../fonts/IRANSansWeb_Medium.eot?#iefix') format("embedded-opentype"), url('../fonts/IRANSansWeb_Medium.woff2') format("woff2"), url('../fonts/IRANSansWeb_Medium.woff') format("woff"), url('../fonts/IRANSansWeb_Medium.ttf') format("truetype")
}

@font-face {
    font-family: 'IRANSans';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/IRANSansWeb_Light.eot');
    src: url('../fonts/IRANSansWeb_Light.eot?#iefix') format("embedded-opentype"), url('../fonts/IRANSansWeb_Light.woff2') format("woff2"), url('../fonts/IRANSansWeb_Light.woff') format("woff"), url('../fonts/IRANSansWeb_Light.ttf') format("truetype")
}

@font-face {
    font-family: 'IRANSans';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb.eot?#iefix') format("embedded-opentype"), url('../fonts/IRANSansWeb.woff2') format("woff2"), url('../fonts/IRANSansWeb.woff') format("woff"), url('../fonts/IRANSansWeb.ttf') format("truetype")
}

body {
    background: #eee;
    font-family: "IRANSans";
    direction: rtl;
    text-align: right;
}

/* #region Footer styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.85em;
}
/* #endregion */

/* #region custom Kendo UI styles */
#configure {
    display: none;
}

.k-panelbar .k-content {
    padding: 20px;
}

p .k-button {
    margin: 0 15px 0 0;
}

.k-state-active .label {
    font-size: 1em;
}
/* #endregion */

@media (max-width: 767px) {
    #responsive-panel {
        transition: all linear .2s;
    }

    #configure {
        display: block;
        float: right;
    }

    .k-rpanel {
        width: 100%;
    }

    .k-rpanel-expanded {
        margin-top: 1rem;
    }

    .navbar-header {
        width: 100%;
    }

    .footer {
        height: 60px;
    }

    .k-menu .k-item,
    .k-menu .k-link {
        width: 100%;
    }

    .k-menu .k-link {
        box-sizing: border-box;
    }
}

.sidebar {
    display: flex;
    flex-direction: column;
    background: #157cce;
    color: white;
}

    .sidebar a {
        color: white;
    }

    .sidebar i {
        font-size: 14px;
        color: white;
    }

    .sidebar .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 50px;
        padding: 10px;
    }

        .sidebar .header h5 {
            font-size: 14px;
            font-weight: 500;
            margin: 0;
            text-transform: uppercase;
        }

        .sidebar .header i {
            color: white;
            font-size: 14px;
        }

    .sidebar ul {
        overflow-y: auto;
    }

        .sidebar ul li a {
            display: block;
            padding: 2px 10px;
            font-size: 14px;
            text-decoration: none;
        }

            .sidebar ul li a.active {
                background: #8abde6;
            }

            .sidebar ul li a:hover {
                background: #8abde6;
            }

            .sidebar ul li a:before {
                content: "#";
                margin-right: 2px;
            }

    .sidebar .profile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 48px;
        padding: 10px;
        background: #1a6baa;
        margin-top: auto;
    }

        .sidebar .profile div {
            display: flex;
            align-items: center;
            flex-grow: 1;
        }

            .sidebar .profile div .user-avatar {
                width: 32px;
                height: 32px;
                border: 2px solid white;
                padding: 1px;
                border-radius: 50%;
                margin-right: 5px;
            }

            .sidebar .profile div a {
                font-size: 14px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 120px;
            }

        .sidebar .profile .btn-sign-out {
            background: none;
            border: none;
        }

.main-content {
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .main-content .header {
        height: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

        .main-content .header h5 {
            margin: 0;
            font-size: 18px;
        }

            .main-content .header h5:before {
                content: "#";
            }

    .main-content .chat-body {
        overflow-y: auto;
        flex-grow: 1;
        padding: 10px;
    }

    .main-content .chat-input {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        background: #f2f2f2;
    }

        .main-content .chat-input input {
            width: 100%;
            border: none;
            height: 50px;
            border-radius: 0;
            border-top: 1px solid #eee;
            background: #f2f2f2;
            margin-top: auto;
            text-indent: 10px;
        }

            .main-content .chat-input input[type="file"] {
                display: none;
            }

        .main-content .chat-input .actions {
            padding: 0 10px;
        }

            .main-content .chat-input .actions i {
                color: #aaa;
                cursor: pointer;
            }

                .main-content .chat-input .actions i:hover {
                    color: #555;
                }

            .main-content .chat-input .actions label {
                margin-bottom: 0;
            }

            .main-content .chat-input .actions #emojibtn {
                margin: 0 10px;
            }

        .main-content .chat-input .emoticon-container {
            width: 145px;
            background: white;
            height: 60px;
            border: 1px solid #ccc;
            position: absolute;
            right: 54px;
            bottom: 32px;
            padding: 5px 7px;
            line-height: 20px;
        }

            .main-content .chat-input .emoticon-container a {
                float: left;
                height: 24px;
                margin-left: 4px;
            }

.chat-message {
    margin: 10px;
    min-width: 200px;
}

    .chat-message .message-content {
        background: #f5f5f5;
        padding: 3px 8px;
        border: 1px solid #eee;
        border-radius: 2px;
        color: #777;
        min-width: 220px;
        max-width: 500px;
    }

        .chat-message .message-content img.post-image {
            max-width: 100%;
            max-height: 100%;
        }

        .chat-message .message-content span {
            color: #777;
        }

        .chat-message .message-content .author {
            color: #1a6baa;
            font-size: 12px;
            font-weight: bold;
        }

        .chat-message .message-content .content {
            display: block;
            padding: 2px 0;
        }

        .chat-message .message-content .timestamp {
            font-size: 12px;
            color: #999;
            float: right;
            line-height: 21px;
            margin: 0 5px;
        }

    .chat-message .message-avatar {
        width: 40px;
        height: 40px;
        float: left;
        margin-right: 10px;
        border-radius: 21px;
    }

.ismine {
    flex-direction: row-reverse;
}

    .ismine .message-content {
        background: #8abde6;
    }

        .ismine .message-content .author,
        .ismine .message-content .timestamp,
        .ismine .message-content .timestamp span,
        .ismine .message-content .content {
            color: white;
        }

        .ismine .message-content div {
            flex-direction: row-reverse;
        }

    .ismine .message-avatar {
        margin-right: 0;
        margin-left: 10px;
    }

.users-container {
    display: flex;
    flex-direction: column;
}

    .users-container .header {
        height: 50px;
        display: flex;
        align-items: center;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

        .users-container .header h5 {
            margin: 0;
            font-weight: 400;
            text-transform: uppercase;
            color: #555;
            font-size: 16px;
        }

    .users-container #users-list .user {
        padding: 10px;
        display: flex;
        align-items: center;
    }

        .users-container #users-list .user img {
            width: 32px;
            height: 32px;
            margin-right: 5px;
        }

        .users-container #users-list .user .right-side {
            width: 100%;
            line-height: 16px;
            overflow: hidden;
        }

            .users-container #users-list .user .right-side span {
                display: block;
                font-size: 14px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

        .users-container #users-list .user:hover {
            background: #f2f2f2;
            cursor: pointer;
        }

    .users-container input {
        width: 100%;
        border: none;
        height: 50px;
        border-radius: 0;
        border-top: 1px solid #eee;
        background: #f2f2f2;
        margin-top: auto;
        text-indent: 10px;
    }


@font-face {
    font-family: 'IRANSans';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/IRANSansWeb_Bold.eot');
    src: url('../fonts/IRANSansWeb_Bold.eot?#iefix') format("embedded-opentype"), url('../fonts/IRANSansWeb_Bold.woff2') format("woff2"), url('../fonts/IRANSansWeb_Bold.woff') format("woff"), url('../fonts/IRANSansWeb_Bold.ttf') format("truetype")
}

@font-face {
    font-family: 'IRANSans';
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/IRANSansWeb_Medium.eot');
    src: url('../fonts/IRANSansWeb_Medium.eot?#iefix') format("embedded-opentype"), url('../fonts/IRANSansWeb_Medium.woff2') format("woff2"), url('../fonts/IRANSansWeb_Medium.woff') format("woff"), url('../fonts/IRANSansWeb_Medium.ttf') format("truetype")
}

@font-face {
    font-family: 'IRANSans';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/IRANSansWeb_Light.eot');
    src: url('../fonts/IRANSansWeb_Light.eot?#iefix') format("embedded-opentype"), url('../fonts/IRANSansWeb_Light.woff2') format("woff2"), url('../fonts/IRANSansWeb_Light.woff') format("woff"), url('../fonts/IRANSansWeb_Light.ttf') format("truetype")
}

@font-face {
    font-family: 'IRANSans';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb.eot?#iefix') format("embedded-opentype"), url('../fonts/IRANSansWeb.woff2') format("woff2"), url('../fonts/IRANSansWeb.woff') format("woff"), url('../fonts/IRANSansWeb.ttf') format("truetype")
}


input[type="radio"] {
    display: none;
}

    input[type="radio"] + img {
        border-radius: 50%;
        border: 2px solid transparent;
        padding: 1px;
        cursor: pointer;
    }

    input[type="radio"]:checked + img {
        border-radius: 50%;
        border: 2px solid #5dca38;
        padding: 1px;
    }

.login-container,
.register-container {
    width: 350px;
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: white;
    margin: auto;
}

    .login-container h4,
    .register-container h4 {
        font-weight: 400;
    }

.register-container {
    width: 450px;
}

.btn-sign-in,
.btn-sign-up {
    width: 100%;
    background: #5d8a9e;
    color: white;
    font-weight: 500;
}

.login-container .profile-avatar {
    width: 96px;
    height: 96px;
    display: block;
    border-radius: 50%;
    margin: 20px auto;
}

.alert-dismissible {
    position: fixed;
    width: 500px;
    right: 25px;
    top: 25px;
}

 