﻿
/*

    formatering för input-hanteringen

*/

:root {
    --bordercolor: #e8e8e8;
    --bordercolordark: #2c3237;
    --lightred: #dd6666;
}




.profile-avatar {
    background-color: #f6f6f6;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    height: 40px;
    width: 40px;
    display: table;
    border: 2px solid #fff;
    object-fit: cover;
}

.profile-avtatar-name {
    position: relative;
    top: -44px;
    left: 60px;
}




/* action comments ring */
.circle-click {
    position: relative;
    left: -5px;
    margin: 3px;
    padding: 8px;
    border-radius: 50%;
    background-color: #f3f3f3;
    cursor: pointer;
}

.circle-click:hover {
    color: white;
    background-color: black;
}

html.dark .circle-click {
    color: white;
    background-color: #383f48;
}

    html.dark .circle-click:hover {
        background-color: black;
    }

.circle-click.selected {
    color: white;
    background-color: black !important;
}

html.dark .circle-click.selected {
    background-color: #dd6666 !important;
}

.menu-item:hover {
    cursor: pointer;
    font-weight: 800;
}

.circle-click-menu, .click-share {
    position: relative;
    left: -5px;
    margin: 3px;
    padding: 8px;
    border-radius: 50%;
    color: #383f48;
    background-color: #f3f3f3;
    cursor: pointer;
}

.circle-click-menu:hover, .click-share:hover {
    background-color: #dad6d6;
}

html.dark .click-share:hover, html.dark .circle-click-menu:hover {
    background-color: black;
}

html.dark .circle-click-menu, html.dark .click-share {
    color: white;
    background-color: #383f48;
}

.dropdown-item {
    cursor: pointer;
}

/* raderar sista linjen efter sista inlägget i tråden */
#divMessages .row:last-child hr.solid {
    border: none !important;
    margin: 0 !important;
    background-image: none !important;
    background: none !important;
}

.fa-fw {
    width: 30px;
}

/* */



.btn-append-include {
    background-color: transparent;
    border-color: var(--bordercolor);
    border-left: none;
    border-top: none;
    border-right: none;
}

html.dark .btn-append-include {
    border-bottom: none;
}

.border-right-none {
    border-right: 0px solid transparent;
}

.form-control:focus {
    border: 1px solid var(--bordercolor);
    border-right: none;
    box-shadow: none;
}

.comment-border {
    border: 1px solid transparent;
    border-radius: 3px;
}

html.dark .comment-border {
    border-top: 1px solid var(--bordercolordark);
    border-right: 1px solid var(--bordercolordark);
    border-radius: 3px;
    background-color: var(--darktextboxbackground);
}

.send-comment {
    color: #aaaaaac5;
    font-size: 1.1em;
}

    .send-comment:hover {
        filter: brightness(130%) saturate(130%) !important;
        cursor: pointer;
    }

.set-send-comment-color {
    color: var(--lightred) !important;
}




/* ny input-design med knappar */
.comment-container {
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 4px;
}

html.dark .comment-container {
    background-color: var(--darktextboxbackground);
}

.comment-input {
    border: 1px solid transparent;
}

.form-control:focus {
    border: 1px solid transparent;
    box-shadow: none !important;
}

.comment-submit {
    border: 1px solid transparent;
}

.img-mini {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.img-delete {
    position: relative;
    left: -25px;
    top: -20px;
    cursor: pointer;
}

.circle-attachment-file {
    height: .1px;
    left: -9999px;
    opacity: 0;
    position: fixed;
    width: .1px;
    z-index: -1;
}

/* */

.img-picture {
    height: 100%;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    max-height: 600px;
}

.img-rest-counter {
    position: absolute;
    left: calc(50% - 35px);
    top: 50%;
    font-size: 35px;
    font-weight: 700;
    color: white;
}

.img-rest-dim img {
    filter: brightness(50%);
}
