
html, body {
    height: 100%;
}

.logo {
    display: inline-block;
    width: 180px;
    height: 48px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('/img/logo.png');
}

h1 .logo {
    /* Fix main toolbar */
    margin-bottom: -10px;
}

.logo.logo-center {
    margin: -10px auto;
}

.release {
    position: fixed;
    font-size: xx-small;
    left: 0;
    bottom: 0;
    opacity: 0.5;
}

[panel="users"] .left {
    float: left;
    width: 300px;
    padding: 8px;
}

[panel="users"] .right {
    margin-left: 300px;
    padding: 16px;
}

.wrap-center {
    max-width: 600px;
    margin: 16px auto;
}


/************************************************************ prettylist ******/
.prettylist {
    /* layout */
    display: block;
    margin: 0;
    padding: 0;
}

.prettylist li {
    /* layout */
    display: block;
    margin: 0;
    padding: 16px;
    border-bottom: solid #F4F4F4 1px;
    height: 72px;

    /* colors */
    cursor: pointer;
}

.prettylist li:hover {
    background-color: #F8F8FF;
}

.prettylist .prettylist-image {
    /* layout */
    display: inline-block;
    width: 40px;
    height: 40px;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    float: left;
    margin-right: 16px;
}

.prettylist .prettylist-text {
    /* layout */
    overflow: hidden;
    background: center center no-repeat;
    background-size: cover;
    line-height: 40px;
}

/******************************************************** others ************/
.redball {
    background-color: #ef4b4b;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    vertical-align: 7px;
    margin-left: -2px;
}


/******************************************************************************/
.slide-left-enter-active,
.slide-left-leave-active,
.slide-right-enter-active,
.slide-right-leave-active {
    transition-duration: 0.2s;
    transition-property: height, opacity, transform;
    transition-timing-function: ease-out;
    overflow: hidden;
}

.slide-left-enter,
.slide-right-leave-active {
    opacity: 0;
    transform: translate(10em, 0);
}

.slide-left-leave-active,
.slide-right-enter {
    opacity: 0;
    transform: translate(-10em, 0);
}

/****************************** pleasons ***********************/

.btn-pleason {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    border-radius: 20%;
    overflow: hidden;
    margin: 4px;
}
.btn-pleason:focus {
    outline: none;
}
.btn-pleason img {
    width: 18vw;
}
.btn-pleason[animation="go-big"] {
    transition: all 0.3s ease;
    transform: scale(2);
    box-shadow: 4px 4px 8px;
}


/*********************  main nav **************************/

.main-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 64px;
    background-color: rgba(255,255,255,0.8);
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    z-index: 1;
}

.main-nav .logo {
    position: absolute;
    display: inline-block;
    background: url('/img/logo_small.png') left center no-repeat;
    padding: 10px 10px 10px 64px;
    margin: 8px 4px;
    font-size: 22px;
    color: gray;
    text-decoration: none;
}

.main-nav .logo:hover {
    color: #13CCA1;
}

.main-nav .buttons {
    float: right;
    height: 100%;
}

.main-nav .buttons a,
.main-nav .buttons button {
    display: block;
    float: left;
    padding: 19px 16px;
    height: 100%;
    text-decoration: none;
    text-transform: uppercase;
    color: #4a4a4a;
    line-height: 26px;
    border: none;
    background-color: white;
    cursor: pointer;
}

.main-nav .buttons a:hover,
.main-nav .buttons button:hover {
    color: #007eff;
}

.main-nav .buttons a.attention,
.main-nav .buttons button.attention {
    color: white;
    background-color: #13CCA1;
}


/* timeline */
[page="sentiment-timeline"] .btn-pleason {
    cursor: initial;
    margin: 2px;
}

[page="sentiment-timeline"] .btn-pleason img {
    width: 36px;
    height: 36px;
}

[page="sentiment-timeline"] .btn-pleason.big {
    transform: scale(1.5);
    box-shadow: 2px 2px 3px rgba(0,0,0,0.8);
}

/*  pleason-conversation */


[page="pleason-conversation"] .btn-pleason {
    cursor: initial;
    margin: 2px;
}

[page="pleason-conversation"] .btn-pleason img {
    width: 36px;
    height: 36px;
}

[page="pleason-conversation"] .btn-pleason.big {
    transform: scale(1.5);
    box-shadow: 2px 2px 3px rgba(0,0,0,0.8);
}



[page="pleason-conversation"] .message-area {
    margin: 0 auto;
    max-width: 800px;
    padding: 0 20px;
    height: 60vh;
    overflow-y: scroll;
    //background-color: pink;
    border: 1px solid silver;
    text-align: left;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 90px;

}


[page="pleason-conversation"] .message-area::-webkit-scrollbar {
    -webkit-appearance: none;
}

[page="pleason-conversation"] .message-area::-webkit-scrollbar:vertical {
    width: 11px;
}

[page="pleason-conversation"] .message-area::-webkit-scrollbar:horizontal {
    height: 11px;
}

[page="pleason-conversation"] .message-area::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .5);
}


[page="pleason-conversation"] .message-container {

    border: 2px solid #dedede;
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    font-size: 0.8rem;
}

[page="pleason-conversation"]  .darker {
    border-color: #ccc;
    background-color: #ddd;
}

[page="pleason-conversation"] .message-container::after {
    content: "";
    clear: both;
    display: table;
}

[page="pleason-conversation"] .message-container img {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 20px;
    border-radius: 50%;
    overflow : hidden;
}

[page="pleason-conversation"] .message-container img.right {
    float: right;
    margin-left: 20px;
    margin-right:0;
}

[page="pleason-conversation"] .time-right {
    float: right;
    color: #aaa;
    font-size: 0.6rem;
}

[page="pleason-conversation"] .time-left {
    float: left;
    color: #999;
    font-size: 0.6rem;
}

/*

[page="pleason-conversation"] .chat-area {
    //border: 1px solid #ccc;
    background: white;
    height: 40vh;
    padding: 1em;
    overflow: auto;
    max-width: 350px;
    //margin: 0 10px;
    text-align: center;
    display: inline-block;
    justify-content: center;
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.3);
    background-image: url(img/chatbackground.png);
}


[page="pleason-conversation"] .message {
    //max-width: 85%;
    border-radius: 10px;
    border: solid 2px #ccc;
    padding: 0.2em .5em;
    margin-bottom: .4em;
    font-size: .8em;

    overflow-wrap: break-word;
    hyphens: auto;
    //clear: both;
    text-align: left;
}
[page="pleason-conversation"] .message-out {
    background: cornflowerblue;
    border-color: grey;
    color: white;
    //float: right;
}
[page="pleason-conversation"] .message-in {
    background: darkgrey;
    color: black;
    //float: left;
}
[page="pleason-conversation"] .chat-inputs {
    display: block;
    justify-content: center;
    max-width: 350px;
    //margin: 0 0px;
    text-align: center;

}

[page="pleason-conversation"] .you-input {
    padding: .5em;
    width: 95%;

    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.3);

    border: solid 2px #ccc;
}

*/