html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background: #f3f0f0;
}

@media screen and (min-width: 768px) {
    body {
        background: #fff;
    }
}

main {
    margin-bottom: 60px;
}

.header {
    background: #175273;
    height: 60px;
    position: relative;
    width: 100%;
}

    .header .header-background {
        display: none;
    }

@media screen and (min-width: 768px) {
    .header {
        height: 100%;
    }

        .header .header-background {
            display: block;
            max-width: 100%;
        }
}

.GenesisLogo {
    font-family: 'Lucida Calligraphy';
    font-weight: bolder;
    font-size: xx-large;
    margin-top: -30px;
    padding-top: 7px;
    position: absolute;
    text-align: center;
    text-shadow: 2px 2px #668291;
    top: 50%;
}

    .GenesisLogo a {
        color: #fff;
        text-decoration: none;
    }

.mobile-logo {
    bottom: 70px;
    left: 50%;
    margin-left: -70px;
    position: absolute;
}

    .mobile-logo img {
        max-width: 140px;
    }

.login-wrapper {
    font-weight: bold;
    padding-top: 16px;
    padding-bottom: 32px;
}

@media screen and (min-width: 768px) {
    .login-wrapper {
        background: #f3f0f0;
        border: 10px solid #cdcdcd;
        border-radius: 10px;
    }
}

.chat-wrapper {
    padding: 0;
}

@media screen and (min-width: 576px) {
    .chat-wrapper {
        padding: 8px 0;
    }
}

@media screen and (min-width: 768px) {
    .chat-wrapper {
        background: #f3f0f0;
        border: solid 1px #cdcdcd;
        border-radius: 4px;
    }
}

.chat-actions {
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 100%;
    justify-content: flex-start;
    padding: 8px 16px;
    width: 100%;
}

@media screen and (min-width: 992px) {
    .chat-actions {
        flex-direction: column;
    }
}

.chat-actions button,
.chat-actions a {
    margin: 2px 0;
    width: 100%;
}

@media screen and (min-width: 992px) {
    .chat-actions button,
    .chat-actions a {
        width: 250px;
    }
}

.chat-actions a {
    flex: 0 0 100%;
    font-weight: 700;
    text-align: center;
}

.chat-actions button {
    background-color: #1f709e;
    color: #fff;
    flex: 0 0 100%;
    font-weight: 700;
    position: relative;
}

    .chat-actions button.btn:hover {
        background-color: #fff;
        color: #1f709e;
    }

@media screen and (min-width: 576px) {
    .chat-actions button,
    .chat-actions a {
        flex: 0 1 46%;
        margin: 8px;
    }
}

@media screen and (min-width: 992px) {
    .chat-actions button,
    .chat-actions a {
        flex: 0 1 auto;
    }

        .chat-actions button.last {
            margin-left: inherit;
            margin-top: auto;
        }
}

button.dot:before {
    background: #f33;
    /*border: solid 1px #700;*/
    border-radius: 50%;
    content: '';
    height: 8px;
    position: absolute;
    right: -12px;
    top: 4px;
    width: 8px;
}

@media screen and (max-height: 740px) {
    #chat.k-chat {
        height: 400px;
    }
}

@media screen and (max-width: 575px) {
    #chat.k-chat .k-avatars .k-message-group:not(.k-alt):not(.k-no-avatar) {
        padding-left: 0;
    }

    #chat.k-chat .k-avatars .k-message-group.k-alt:not(.k-no-avatar) {
        padding-right: 0;
    }
}
