﻿@media(max-height: 750px) {
    body .right-nav-menu .category {
        height: 110px;
    }

        body .right-nav-menu .category .icon-wrapper {
            padding-top: 15px;
        }

            body .right-nav-menu .category .icon-wrapper .name {
                font-size: 16px;
            }
}

@media(max-width:1500px) {
    body .default-customer .ui-control {
        max-width: 300px;
        min-width: 300px;
    }
}

@media(max-width:1400px) {
    body .right-nav {
        width: 65px;
    }

        body .right-nav .right-nav-menu .category .icon-wrapper .name {
            font-size: 0.8em;
        }

        body .right-nav .right-nav-head {
            height: 40px;
        }

            body .right-nav .right-nav-head .right-nav-head-logo {
                background-image: url('/images/logo_minimize.png');
                background-size: contain;
                padding: 3px;
                background-position: 0px 0px;
                background-origin: content-box;
                width: 40px;
                height: 40px;
                margin: 0 auto;
            }

            body .right-nav .right-nav-head.ymas .right-nav-head-logo {
                background-image: url('/images/lmas_minimized.jpg');
                background-position: 3px 0px;
            }

            body .right-nav .right-nav-head.icpas .right-nav-head-logo {
                background-image: url('/images/icpas_minimized.jpg');
                background-position: 3px 0px;
            }

    body .right-nav-menu {
        height: calc(100% - 40px);
    }

    body.tabber-active .right-nav-menu {
        height: calc(100% - 80px);
    }

    body .multiple-service .header {
        width: 100%;
        height: 40px;
    }

    body .wrapper .header {
        width: calc(100% - 65px);
        height: 40px;
    }

    body .header .header-left .controls {
        width: 170px;
    }

        body .header .header-left .controls .controls-group {
            margin: 3px 0;
        }

            body .header .header-left .controls .controls-group a {
                font-size: 1.2em;
                width: 30px;
                line-height: 34px;
            }

                body .header .header-left .controls .controls-group a .ui-notifier {
                    font-size: 0.4em;
                }

    body .header .header-left .seperator {
        margin-top: 8px;
        height: 25px;
    }

    body .header .header-left .btn-primary.btn-fixed {
        width: 100px;
        padding: 3px;
        margin-top: -5px;
    }

    body .header .header-right {
        height: 40px;
        width: calc(100% - 420px);
    }

        body .header .header-right .search {
            width: 95%;
            margin-top: 7px;
            margin-bottom: 5px;
            margin-right: 10px;
            height: 30px;
        }

            body .header .header-right .search .input {
                width: calc(100% - 300px);
                min-width: 300px;
                height: 27px;
            }

                body .header .header-right .search .input input[type=text] {
                    height: 27px;
                }

            body .header .header-right .search .button {
                height: 27px;
            }

    body .default-customer .ui-control {
        margin-top: 6px;
        max-width: 250px;
        min-width: 250px;
    }

        body .default-customer .ui-control select,
        body .default-customer .ui-control input,
        body .default-customer .ui-control select[disabled],
        body .default-customer .ui-control input[disabled] {
            height: 28px;
            font-size: 12px;
        }

        body .default-customer .ui-control.ui-client button {
            font-size: 12px;
            width: 28px;
            height: 28px;
        }

        body .default-customer .ui-control.ui-client label {
            width: calc(100% - 30px);
        }

        body .default-customer .ui-control.ui-client.ui-client-double-icon label {
            width: calc(100% - 58px);
        }

    body .wrapper {
        padding-top: 40px;
    }

    body .content {
        margin-right: 60px;
    }

    body .left-nav.open {
        top: 40px;
    }
}

@media(max-width:1200px) {
    body.calculator .inner-content .calculator-box.leftMenuOpen {
        width: calc(100% - 230px);
    }

    body .content .left-nav.open {
        width: 230px;
    }

    body .programs.leftMenuOpen {
        width: calc(100% - 230px);
    }

    body .home .page {
        width: calc(100% - 20px);
    }

    body .favorite-list .item-box.odd:before {
        display: none;
    }

    body .multiple-service {
        width: calc(100% - 65px);
    }

    body .default-customer .ui-control {
        max-width: 250px;
        min-width: 250px;
    }

        body .default-customer .ui-control label span {
            display: none;
        }

        body .default-customer .ui-control input.default-customer-taxpayer,
        body .default-customer .ui-control select.default-customer-businesses,
        body .default-customer .ui-control select.default-customer-years {
            width: 100%;
        }

    body .header .header-left .traingle,
    body .header .header-left .profile-name,
    body .header .header-left .header-control-intro,
    body .header .header-left .header-control-tasks {
        display: none;
    }

    body .header .header-left .controls {
        width: 100px !important;
    }

    body .header .header-left .profile {
        margin-left: 0;
    }

        body .header .header-left .profile .profile-img {
            vertical-align: top !important;
            margin-left: 10px;
        }

    body .header .header-right {
        width: calc(100% - 180px);
    }
}

@media(max-width:992px) {
    body.calculator .calculator-box.leftMenuOpen {
        width: 100% !important;
    }

    body .customers-edit-id-type-page.new-customer.leftMenuOpen {
        width: 100% !important;
    }

    body .default-customer .ui-control {
        max-width: 200px;
        min-width: 200px;
    }
}

@media(max-width:768px) {
    body .home .page .last-programs {
        height: calc(100% - 30px);
    }

    body .default-customer .ui-control {
        max-width: 150px;
        min-width: 150px;
    }
}

body {
    position: relative;
}

    body.tabber-active .feedback-btn {
        bottom: 35px;
    }

    body .hamburger {
        display: none;
    }

.wrapper {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding-top: 60px;
}

    .wrapper.tab-active {
        height: calc(100% - 40px);
    }

.right-nav-hamburger {
    display: none;
}

.multiple-service .header {
    width: 100%;
}

.header {
    position: absolute;
    z-index: 5;
    top: 0;
    height: 60px;
    width: calc(100% - 140px);
    border-bottom: 1px solid #d7d7dc;
}

    .header .header-left {
        display: inline-block;
        height: 100%;
        padding-left: 20px;
        padding-right: 15px;
        overflow: hidden;
    }

        .header .header-left > div {
            display: inline-block;
            vertical-align: middle;
        }

        .header .header-left .controls {
            width: 220px;
            display: inline-block;
            vertical-align: middle;
        }

            .header .header-left .controls .controls-group {
                margin: 10px 0;
            }

            .header .header-left .controls .control-link-wrapper {
                line-height: 40px;
                padding-top: 10px;
            }

            .header .header-left .controls a {
                font-size: 1.5em;
                display: inline-block;
                width: 40px;
                text-align: center;
                line-height: 40px;
                color: #ABABAC;
            }

                .header .header-left .controls a .fa,
                .header .header-left .controls a .far {
                    transition: font-size .1s linear;
                }

                .header .header-left .controls a:hover .fa,
                .header .header-left .controls a:hover .far {
                    font-size: 1.2em;
                }

.settings-page .header .header-left .controls a .fa-cog, .messages-inbox-page .header .header-left .controls a .fa-envelope-o, .notifications-page .header .header-left .controls a .fa-bell {
    color: #00A6FF;
    font-size: 1.2em;
}

.header .header-left .profile {
    width: 260px;
    cursor: pointer;
    margin-left: 15px;
    overflow: hidden;
}

    .header .header-left .profile:hover {
        color: #ABABAC;
    }

    .header .header-left .profile img {
        border-radius: 50%;
        height: 25px;
        width: 25px;
    }

    .header .header-left .profile span.traingle {
        font-size: 10px;
    }

    .header .header-left .profile .traingle,
    .header .header-left .profile .profile-name {
        direction: rtl;
        font-size: .9em;
        transition: color .1s linear;
    }

    .header .header-left .profile .profile-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.header .header-left .seperator {
    position: absolute;
    width: 1px;
    margin: 0 auto;
    margin-top: 15px;
    height: 30px;
    vertical-align: middle;
    background-color: silver;
}

.header .header-right {
    height: 60px;
    width: calc(100% - 470px);
    direction: rtl;
    display: inline-block;
    vertical-align: top;
}

    .header .header-right .search {
        width: 90%;
        margin-top: 15px;
        margin-bottom: 15px;
        margin-right: 40px;
        height: 30px;
        float: right;
    }

        .header .header-right .search .input {
            display: inline-block;
            vertical-align: middle;
            height: 30px;
            float: right;
            width: calc(100% - 500px);
            min-width: 400px;
        }

            .header .header-right .search .input input[type=text]:hover {
                background-image: url('/images/search_on.png');
            }

            .header .header-right .search .input input[type=text] {
                width: 100%;
                border: none;
                font-size: .9em;
                height: 31px;
                padding-right: 75px;
                text-align: right;
                direction: rtl;
                background-image: url('/images/search.png');
                background-repeat: no-repeat;
                background-position: right 30px center;
                transition: all .1s linear;
            }

                .header .header-right .search .input input[type=text]:focus {
                    outline-color: #118dcf;
                    outline-width: 1px;
                    outline-style: solid;
                    background-image: url('/images/search_on.png');
                    background-color: white;
                }

            .header .header-right .search .input.searching input[type=text]:focus {
                background-image: url('/images/waiting.gif');
            }

        .header .header-right .search .button:hover {
            opacity: 0.8;
        }

        .header .header-right .search .button {
            display: inline-block;
            font-size: .9em;
            line-height: 1.6em;
            vertical-align: middle;
            height: 30px;
            float: right;
            width: 70px;
            border: none;
            border-bottom: 1px solid black;
            border-radius: 3px;
            color: white;
            text-align: center;
        }

.default-customer .ui-control {
    margin-top: 15px;
    margin-right: 15px;
    max-width: 330px;
    min-width: 330px;
}

    .default-customer .ui-control label {
        font-size: 14px;
    }

    .default-customer .ui-control select,
    .default-customer .ui-control select[disabled],
    .default-customer .ui-control input,
    .default-customer .ui-control input[disabled] {
        border: 1px solid #999;
        height: 30px;
        font-size: 14px;
    }

        .default-customer .ui-control input.default-customer-taxpayer {
            width: calc(100% - 37px);
        }

        .default-customer .ui-control select.default-customer-businesses {
            width: calc(100% - 30px);
        }

        .default-customer .ui-control select.default-customer-years {
            width: calc(100% - 30px);
        }

    .default-customer .ui-control.ui-client label {
        width: calc(100% - 32px);
    }

    .default-customer .ui-control.ui-client.ui-client-double-icon label {
        width: calc(100% - 63px);
    }

    .default-customer .ui-control.ui-client .ui-input {
        position: relative;
    }

    .default-customer .ui-control.ui-client button {
        font-size: 14px;
        width: 30px;
        height: 30px;
    }

    .default-customer .ui-control.ui-client .fa.fa-times {
        left: 8px;
        top: 5px;
        font-size: 14px;
    }

.left-nav {
    display: none;
}

    .left-nav.open {
        position: absolute;
        width: 300px;
        left: 0;
        top: 60px;
        height: 100%;
    }

    .left-nav .collapse-nav {
        height: 0;
    }

    .left-nav.open .collapse-nav {
        height: 100%;
        overflow-y: auto;
        direction: rtl;
        padding: 0 5px 10px 5px;
    }

        .left-nav.open .collapse-nav .collapse-nav-content {
            height: calc(100% - 10px);
        }

.right-nav {
    width: 140px;
    z-index: 2;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

.right-nav-head {
    height: 60px;
    text-align: center;
    width: 100%;
    background-color: white;
}

    .right-nav-head .right-nav-head-logo {
        background-image: url('/images/logo.png');
        background-size: 135px;
        background-repeat: no-repeat;
        background-position: 3px 10px;
        display: block;
        width: 140px;
        height: 60px;
    }

    .right-nav-head.ymas .right-nav-head-logo {
        background-image: url('/images/heshev_mas_logo.png');
        background-position: 3px 7px;
    }

    .right-nav-head.icpas .right-nav-head-logo {
        background-image: url('/images/heshev_icpas_logo.png');
        background-position: 3px 7px;
    }

.right-nav-menu {
    height: calc(100% - 60px);
    width: 100%;
    position: relative;
}

.tabber-active .right-nav-menu {
    height: calc(100% - 100px);
}

.right-nav-menu .category {
    height: 125px;
    width: 100%;
    cursor: pointer;
    display: block;
}

    .right-nav-menu .category.active .icon-wrapper {
        opacity: 1;
    }

    .right-nav-menu .category:not(.active):hover .icon-wrapper {
        opacity: 1;
    }

    .right-nav-menu .category .icon-wrapper {
        transition: opacity 0.1s linear;
        opacity: 0.8;
        position: relative;
        text-align: center;
        margin: 0 auto;
        padding: 30px 5px 0 5px;
    }

        .right-nav-menu .category .icon-wrapper .name {
            color: white;
            text-align: center;
            padding-top: 5px;
            font-size: 18px;
        }

.footer {
    height: 40px;
    position: absolute;
    z-index: 4;
    bottom: 0;
    width: 100%;
    direction: rtl;
    left: 0;
}

    .footer .title-box {
        width: 140px;
        text-align: center;
        font-size: 14px;
        display: inline-block;
        color: white;
        height: 40px;
        line-height: 40px;
    }

body.calculator .footer .title-box {
    /*width: 70px;*/
}

.footer .close-all-tabs {
    height: 40px;
    line-height: 40px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    width: 150px;
    color: #118dcf;
    font-size: 14px;
}

.content-view.noScroll {
    overflow: hidden;
}

.content-view {
    height: 100%;
    direction: rtl;
}

body.tabber-active .content-view {
    height: calc(100% - 39px);
    position: relative;
}

.content {
    margin-right: 140px;
    height: 100%;
    overflow-y: auto;
    background-color: #f9f9f9;
}

body .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
}

.content.dock {
    padding-top: 60px;
    margin-right: 140px;
    margin-left: 300px;
    min-height: calc(100% - 40px);
}

.content .inner-content {
    text-align: right;
    height: 100%;
}

.content.dock .inner-content {
    margin-left: 40px;
}


.right-nav-menu .category.active {
    background-color: #118dcf;
}

.content.dock {
    background-color: silver;
}

.blue {
    color: #118dcf;
}

.blue-document {
    color: #365F91;
}

.grey {
    color: #89898C !important;
}

.error-description-wrapper {
    margin-top: 10px;
    max-height: 100px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    direction: ltr;
    text-align: left;
    background-color: #ebebe4;
    font-size: 0.8em;
}

.info-description-wrapper {
    margin-top: 10px;
    max-height: 100px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    text-align: right;
    background-color: #f5f5f5;
    font-size: 0.8em;
}

/* ltr */
html, body.ltr {
    direction: ltr;
}

    body.ltr .header {
        right: 0;
    }

        body.ltr .header .header-left {
            float: right;
            padding-right: 20px;
            padding-left: 15px;
        }


        body.ltr .header .header-right {
            float: left;
        }

            body.ltr .header .header-right .search {
                margin-left: 40px;
                float: left;
            }

                body.ltr .header .header-right .search .input {
                    float: left;
                }

                    body.ltr .header .header-right .search .input input[type=text] {
                        padding-left: 50px;
                        text-align: left;
                        direction: ltr;
                    }


                body.ltr .header .header-right .search .button {
                    float: right;
                }

    body.ltr .left-nav.open {
        right: 0;
    }

    body.ltr .right-nav {
        left: 0;
    }

    body.ltr .footer {
        direction: ltr;
    }

    body.ltr .content {
        margin-left: 140px;
        margin-right: 0;
    }

        body.ltr .content.dock {
            margin-left: 140px;
            margin-right: 300px;
        }

        body.ltr .content .inner-content {
            text-align: left;
        }

        body.ltr .content.dock .inner-content {
            margin-right: 40px;
        }

body.tabber-active .left-nav.open {
    /*added -60px so the header will bo shown in calc mode*/
    height: calc(100% - 39px - 60px);
}

body .left-nav {
    top: 0;
    z-index: 3;
    position: absolute;
    width: 0px;
    height: 100%;
    transition: width .1s linear;
}

body.calculator .left-nav {
    display: block;
}

body.programs-page .left-nav,
body.taxreports-page .left-nav,
body.depreciation-page .left-nav,
body.document1219-page .left-nav,
body.customers-edit-id-type-page .left-nav {
    display: block;
    height: calc(100% - 62px) !important;
    bottom: 0 !important;
    top: unset !important;
    background-color: #f9f9f9;
}

    body.programs-page .left-nav:not(.open) .collapse-nav-content,
    body.customers-edit-id-type-page .left-nav:not(.open) .collapse-nav-content,
    body.taxreports-page .left-nav:not(.open) .collapse-nav-content,
    body.depreciation-page .left-nav:not(.open) .collapse-nav-content,
    body.document1219-page .left-nav:not(.open) .collapse-nav-content,
    body.calculator .left-nav:not(.open) .collapse-nav-content {
        display: none;
    }

body.tabber-active.customers-edit-id-type-page .left-nav {
    height: calc(100% - 62px - 30px) !important;
    top: 62px !important;
}

body.customers-page .left-nav .right-arrow {
    background-color: white;
}

body.programs-page .left-nav .right-arrow {
    background-color: #f9f9f9;
}

body .left-nav .collapse-nav {
    text-align: right;
    direction: rtl;
}

body .left-nav .options {
    margin-top: 20px;
}

    body .left-nav .options ul {
        list-style-type: none;
        padding: 0;
    }

        body .left-nav .options ul li {
            padding: 5px 0;
            cursor: pointer;
            font-size: .8em;
        }

body .left-nav .instructions {
    font-size: 13px;
}

    body .left-nav .instructions > div {
        max-height: 375px;
        overflow: auto;
    }

body .left-nav .inner-left-menu {
    padding-top: 15px;
}

    body .left-nav .inner-left-menu > div > label {
        color: silver;
        font-weight: normal;
        font-size: 13px;
        margin-bottom: 10px;
        text-shadow: 0px 0px 0px white;
    }

body .left-nav .instructions p {
    padding-right: 5px;
    max-width: 250px;
}

body .left-nav .banner {
    margin-top: 20px;
    text-align: center;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
}

    body .left-nav .banner img {
        width: 100%;
    }

body .left-nav.open {
    position: absolute;
    width: 300px;
    z-index: 3;
    left: 0;
    bottom: 0;
    /*top: 0;* added bottom instead to align with the new header /*
    /*height: 100%; remove so the header will bo shown in calc mode*/
    height: calc(100% - 60px);
}


    body .left-nav.open .pin:hover {
        transform: rotate(0deg);
        background-image: url('/images/pin_dock.png');
    }

    body .left-nav.open.dock .pin {
        transform: rotate(-45deg);
    }

    body .left-nav.open .pin {
        position: absolute;
        top: 12px;
        transition: all .1s linear;
        right: 7px;
        background-image: url('/images/pin.png');
        background-repeat: no-repeat;
        background-size: cover;
        width: 16px;
        height: 16px;
    }

body .left-nav:not(.open):hover {
    background-color: rgb(230, 230, 239);
}

body .left-nav .right-arrow {
    background-image: url('/images/right-arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 20px;
    height: 24px;
    overflow: auto;
    margin: auto;
    /*top: 8px; removed for top 67*/
    top: 67px;
    background-color: #F1F1F7;
    right: -20px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
}

    body .left-nav .right-arrow.left-arrow {
        background-image: url('/images/left-arrow.png');
        top: 8px; /* added for fix new header postion */
    }

    body .left-nav .right-arrow:hover {
        background-color: #EAEAEB;
    }

.alert.ng-leave {
    opacity: 1;
    transition: opacity .5s ease-out;
}

.alert.ng-leave-active {
    opacity: 0;
}

body .tooltip-inner {
    max-width: 100%;
    padding: 5px 12px;
    font-size: 1.15em;
    background-color: rgba(66, 66, 66, 0.87);
}

.ht-inner-details {
    background-color: #118dcf;
    border-radius: 3px;
    color: white;
    padding: 1px 5px;
    letter-spacing: 1px;
    border: none;
}

    .ht-inner-details:disabled {
        background-color: silver;
    }

    .ht-inner-details:not([disabled]):hover {
        background-color: #16a2ed;
    }

input[type=password]::ms-clear {
    display: none;
}

.guest-alert-modal {
    z-index: 99999 !important;
}

.edit-pencil-wrapper {
    cursor: pointer;
}

    .edit-pencil-wrapper .edit-pencil {
        opacity: 0.3;
        padding-right: 3px;
    }

    .edit-pencil-wrapper:hover .edit-pencil {
        opacity: 1;
    }

.modal-extra-large .modal-dialog {
    width: 95%;
}

@media (max-width: 900px) {
    .header .header-right .search {
        display: none;
    }
}


.sprite-nav {
    background-image: url(/images/nav-sprite.png);
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

.sprite-nav_customers {
    width: 32px;
    height: 32px;
    background-position: -5px -5px;
}

.sprite-nav_help {
    width: 32px;
    height: 32px;
    background-position: -47px -5px;
}

.sprite-nav_home {
    width: 32px;
    height: 35px;
    background-position: -5px -47px;
}

.sprite-nav_programs {
    width: 32px;
    height: 32px;
    background-position: -47px -47px;
}

.sprite-nav_reports {
    width: 26px;
    height: 32px;
    background-position: -89px -5px;
}

.right-nav .mk.icon-furnit {
    color: #fff;
    font-size: 35px;
}

.document-content .page {
    position: relative;
}

.table-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
}

.alert-light {
    color: #818182;
    background-color: #fefefe;
    border-color: #bce8f1;;
}
/* Entity Comments Section Styles */
.comments-section {
    margin-top: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.comments-header {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #118dcf;
    font-weight: 500;
}

.comments-header:hover {
    background-color: #f0f0f0;
}

.comments-header i {
    transition: transform 0.2s ease;
}

.comments-body {
    padding: 10px 15px;
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    padding: 10px 0;
    padding-left: 60px;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.comment-avatar i {
    font-size: 30px;
    display: block;
}

.comment-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.comment-author {
    color: #118dcf;
    font-weight: 500;
}

.comment-date {
    color: #888;
    font-size: 0.8em;
}

.comment-actions {
    position: absolute;
    top: 10px;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.comment-action-btn {
    padding: 2px 4px;
    color: #aaa;
    font-size: 13px;
    line-height: 1;
}

.comment-action-btn:hover {
    color: #118dcf;
}

.comment-action-btn--delete {
    color: #c0392b;
}

.comment-action-btn--delete:hover {
    color: #922b21;
}

.comment-body {
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.4em;
}

.comment-edit-form {
    margin-top: 8px;
}

.comment-edit-form textarea {
    width: 100%;
    margin-bottom: 10px;
}

.comment-edit-actions {
    margin-top: 8px;
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
}

.comment-edit-actions .btn {
    min-width: 60px;
}

.add-comment-section {
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 5px;
}

.add-comment-link {
    color: #118dcf;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.add-comment-link i {
    margin-left: 5px;
}

.add-comment-link:hover {
    text-decoration: underline;
}

.add-comment-form textarea,
.comment-edit-form textarea {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    resize: none;
    height: 7em;
    line-height: 1.4em;
    overflow-y: auto;
}

.add-comment-form textarea:focus,
.comment-edit-form textarea:focus {
    border-color: #118dcf;
    outline: none;
}

/* Entity edit modal text-angular editor border */
.entity-edit .ta-root > .ta-editor {
    border: 1px solid #ccc !important;
    border-radius: 4px;
    min-height: 100px;
}

.entity-edit .ta-root > .ta-editor:focus,
.entity-edit .ta-root > .ta-editor.ta-editor-focused {
    border-color: #118dcf !important;
    outline: none;
}

/* Comments count badge in header */
.comments-count-badge {
    margin-right: 10px;
    color: #118dcf;
    font-size: 0.9em;
}

.comments-count-badge i {
    margin-left: 3px;
}

/* Entity comments indicator on side panel list items */
.entity-comments-indicator {
    margin-top: 8px;
    color: #888;
    font-size: 0.85em;
    display: inline-flex;
    align-items: center;
}

/* Make tooltips fit their content */
.tooltip-inner {
    white-space: nowrap;
    max-width: none;
}

.entity-comments-indicator i {
    margin-left: 4px;
    color: #118dcf;
}

.entity-comments-indicator span {
    color: #118dcf;
}
