﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/*
 * Base structure
 */

html,
body {
    height: 100%;
    background-color: #333;
    background-image: url("../img/background.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#gametable {
    border: 3px solid black;
    border-radius: 5px;
    background-image: url("../img/gametable.jpg");
    min-height: 950px;
    width: 1400px;
    /*    min-height: 800px;*/
    user-select: none; /*TODO does not disable dragging images*/
    -webkit-user-select: none;
}

#sidebar {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 70px;
    right: 14px;
    bottom: 14px;
    width: 20%;
    background-color: #2a2f34;
}

.infobox {
    height: 40%;
    padding: 10px;
}

.chat-header {
    text-align: center;
    color: #55606a;
}

.chat-msg-history {
    flex 1 1 auto;
    overflow-y: auto;
    display: inline-flex;
    flex-direction: column-reverse;
    height: 50%;
    border-radius: 5px;
    margin: 10px;
    background-color: #55606a;
    word-wrap: break-word;
}


.chat-type-msg {
    position: relative;
    background-color: #55606a;
}

#player-hand {
}

#player-points {
}

#opponent-hand {
}

#opponent-points {
}

#table-center {
    margin: 20px;
}

.cardcontainer {
    display: inline-block;
    position: relative;
    margin: 3px;
}

.hanafudacard {
}

.hand {
    height: 120px;
    border: 5px solid black;
    border-radius: 3px;
}

.points {
    height: 80px;
    border: 3px solid black;
    border-radius: 1.5px;
}

.highlighted {
    border-color: cornflowerblue;
}

.highlighted-gold {
    border-color: #D4AF37;
}

.container {
    max-width: 1170px;
    margin: auto;
}

img {
    max-width: 100%;
}


/* --- Chat --- */


.mesgs { /* alles */
    float: left;
    padding: 30px 15px 0 25px;
    width: 100%;
}

.msg_history { /* enthält msg divs */
    display: flex;
    flex-direction: column-reverse;
    overflow-y: auto;
}

.incoming_msg { /* msg div a (ganze zeile) */
    padding: 0 0 0 10px;
}

.received_msg { /* schmalerer bereich für nachricht & senderinfo */
    display: inline-block;
    min-width: 6em;
    max-width: 80%;
}

    .received_msg p { /* nachricht */
        background: #ebebeb none repeat scroll 0 0;
        border-radius: 3px;
        color: #646464;
        font-size: 14px;
        margin: 0;
        padding: 5px 10px 5px 12px;
        width: 100%;
    }

.outgoing_msg { /* msg div b (ganze zeile) */
    padding: 0 10px 0 0;
    /*overflow: hidden;
    margin: 26px 0 26px;*/
}

.sent_msg { /* schmalerer bereich für nachricht & senderinfo */
    display: inline-block;
    float: right;
    min-width: 6em;
    max-width: 80%;
}

    .sent_msg p { /* nachricht */
        background: #05728f none repeat scroll 0 0;
        border-radius: 3px;
        font-size: 14px;
        margin: 0;
        color: #fff;
        padding: 5px 10px 5px 12px;
        width: 100%;
    }

.time_date { /* senderinfo unter jeder Nachricht */
    color: #747474;
    display: block;
    font-size: 12px;
    margin: 0 0 8px 0;
}

.sent_msg .time_date { /* senderinfo unter jeder Nachricht */
    color: #747474;
    display: block;
    float: right;
    font-size: 12px;
    margin: 0 1px 8px 0;
}

.chat-type-msg {
    border-radius: 5px;
    margin: 0 10px 10px 10px;
    padding: 5px 10px;
}

.chat-write {
    float: left;
    width: 85%;
    padding: 0 5px 0 0;
}

    .chat-write input {
        background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
        border: medium none;
        color: white;
        font-size: 15px;
        min-height: 48px;
        width: 100%;
    }

.chat-type-msg form {
    margin: 0px;
}

.chat-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    height: 100%;
    padding: 5px;
}

.msg_send_btn {
    background: #05728f none repeat scroll 0 0;
    border: medium none;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    width: 2em;
    height: 2em;
}

/* --- /Chat --- */

