a {
    color: rgb(3, 160, 231);
}

::ng-deep {
    .ui-fileupload-buttonbar {
        padding: 0 !important;
        margin-top: 10px;

        .ui-button {
            width: 100% !important;
            background-color: #667281 !important;
        }
    }

    .ui-fileupload-row {
        div:nth-child(n+3) {
            display: none;
        }
    }

    .ui-button-text {
        padding: 0 !important;
        margin-top: 1px;
    }
}

.attachments {
    display: flex;
    flex-direction: column;
}

.message-block {
    background-color: white;
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.08);
    border: solid 1px #dbdbdf;
    margin-top: 5px;
    padding-bottom: 0 !important;

    .name {
        height: 95%;
        background: rgba(1, 1, 1, 0.1);
        font-size: 2em;

        &.owner {
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
        }

        &.other {
            border-top-left-radius: 12px;
            border-bottom-left-radius: 12px;
        }
    }

    .initial {
        width: 100%;
        text-align: center;
    }

    .message-footer {
        display: flex;
        justify-content: space-between;
        color: #8E97A0;
        font-size: 1.2rem;
        margin-top: 20px;
    }
}

.messages-wrapper {
    max-height: 300px;
    overflow-y: auto;
}


* {
    transition: all .15s;
    outline: none;
}

.attachment-icon {
    margin-top: 25px;
}

.buttons-wrapper {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    justify-content: space-between;

    :last-child {
        width: 60%;
        min-height: 45px;
        display: inline-block;
        cursor: pointer;
        border-radius: 100px;
    }
}

.sendBtn {
    letter-spacing: 1px;
    color: #fff;
    overflow: visible;
    position: relative;
    width: 33%;
    cursor: pointer;
    border-radius: 100px;
    background-color: #667281;
    display: inline-block;
    min-height: 45px;
    text-transform: uppercase;
    border-color: #667281;

    p {
        color: #fff;
        margin: 0;
        font-size: 12px;
        font-weight: 600;
    }

    &:hover {

        svg {
            transform: rotate(10deg);
            transition: transform .15s;
        }
    }

    svg {
        position: absolute;
        top: 0;
        right: 30%;
        height: 30px;
        width: auto;
        transition: transform .15s;

        path {
            fill: #fff;
        }
    }
}

.main-tab-template {
    position: relative;

    .minimize {
        position: absolute;
        right: 10px;
        transform: rotate(-90deg);
        cursor: pointer;
        height: 20px;
        width: 20px;
        line-height: normal;

        img {
            height: 10px;
            width: 10px;
        }
    }
}
