*{
    font-family: 'Inter', Arial, serif;
}

html{
    overflow: hidden;
}

#app-container {
    position: absolute;
    top: 0;
    right: 0;
    left: 154px;
    bottom: 0;
    overflow: hidden;
}
@media (max-width:1024px){
    #app-container{
        left: 0;
    }
}
#app-container.menu_collapsed {
    left: 55px;
}

.app-title{
    font-weight: bold;
    font-size: 2em;
    line-height: 1.2;
    text-align: center;
    color: #E42313;
}

.text-flon-red{
    color: #E42313;
}

#col-left,
#col-right{
    padding-left: 10px;
    padding-right: 5px;
}

#results-wrapper{
    position: relative;
}

#col-left footer{
    text-align: center;
}

.fullscreen{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.fullscreen #right-container{
    padding-left: 10px;
}

/* Grid */
#results-container > .row{
    margin: 0;
}
div.result-item{
    position: relative;
    max-width:200px;
    height:200px;
    padding: 0;
    border: 1px solid #fff;
    background-color: #CCC;
    overflow: hidden;
}
div.result-item.active{
    background-color: #007bff;
    border: 1px solid #007bff;
}
div.result-item>.item-action-buttons{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    padding: 5px;
}
/*img.file-type{
    margin: 50px 0 0 50px;
    width: 100px;
    height: 100px;
}*/
img.file-preview{
    width: 100%;
    height: 100%;
}
.title-bg{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 75px;
    background-color: rgba(43,39,41,.85);
    color: #fff;
    overflow-wrap: break-word;
    padding: 0 3px;
    z-index: 3;
}
.pdf-overlay, .video-overlay, .excel-overlay, .powerpoint-overlay, .word-overlay {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    background-color: rgba(0,0,0,.2);
    top: 0;
    z-index: 2;
}
.pdf-overlay {
    background-image: url(../img/preview_types/PDF.svg);
}
.video-overlay {
    background-image: url(../img/preview_types/MP4.svg);
}
.excel-overlay{
    background-image: url(../img/preview_types/excel.svg);
}
.powerpoint-overlay{
    background-image: url(../img/preview_types/powerpoint.svg);
}
.word-overlay{
    background-image: url(../img/preview_types/word.svg);
}
.preview-image{
    width: 100%;
}

/* list */
ul img.file-type{
    width:50px;
    height:50px;
    flex: 0 0 50px;
}

li.result-item{
    display: flex;
    align-items: center; /* for vertical align */
    padding-left: 0;
    flex-wrap: wrap;
}
li.result-item.result-mode-list{
    padding-top: 0;
    padding-bottom: 0;
}
li.result-item>.item-action-buttons{
    flex: 0 0 25px; /* do not grow, do not shrink, start at 48px */
}
.result-item>.item-action-buttons input[type=checkbox],
.fa-checkbox{
    transform: scale(1.8);
    float: right;
    margin-right: 6px;

    appearance: none;
    -webkit-appearance: none;
    outline: none;
    content: none;
}

/* Selection/Collection checkboxes: Start */
.result-item>.item-action-buttons input[type=checkbox]:before,
.fa-checkbox:before{
    font-family: "Font Awesome 6 Free";
    color: #6c757d;
}
.result-item>.item-action-buttons input[type=checkbox].in-collection:before{
    color: #dc3545;
}
div.result-item>.item-action-buttons input[type=checkbox]{
    margin-top: 3px;
}
div.result-item>.item-action-buttons input[type=checkbox]:before{
    background-color: white;
}

.icon-square:before{
    content: "\f0c8";
}
.icon-square:checked:before{
    content: "\f14a";
}
.icon-book-open:before{
    content: '\f518';
    font-weight: bold;
}

#toolbar{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    border-bottom: 1px solid #E42313;
}

#toolbar>div.row>div:first-child{
    height: 45px;
    overflow: hidden;
}

#toolbar .add-to-selection input[type=checkbox]{
    transform: scale(1.8);
    margin-right: 6px;

    appearance: none;
    -webkit-appearance: none;
    outline: none;
    content: none;
}
#toolbar .add-to-selection input[type=checkbox]:before {
    font-family: "Font Awesome 6 Free";
    color: #6c757d;
}
/* Selection/Collection checkboxes: End */

li.result-item>.item-heading{
    width: 100%;
}
li.result-item>.item-heading>.item-heading-type{
    font-weight: bold;
    text-transform: uppercase;
}
li.result-item>.item-heading>.item-heading-reference{
    color: #E42313;
}

li.result-item>.item-text{
    flex: 1;  /* grow */
}

img.cover{
    object-fit: cover;
}

/* Orders List */
.blur-text{
    text-shadow: 0 0 6px #000;
    color: transparent !important;
}
.turnover-line{
    width: 75px;
    margin: 5px 0 0 5px;
}

/* highlight */
mark{
    background: yellow;
    color: black;
}

/* radio button active like btn-primary */
.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/* Search input */
#searchbox{
    position: relative;/* for absolute position expert icon */
}
#fileTypes{
    position: absolute;
    z-index: 2;
    width: 80px;
    top: -29px;
    background-color: white;
}
@media (max-width:575px){
    #file-types-wrapper{
        display: none;
    }
}
#fileTypes>div>button{
    border: 1px solid grey;
    border-radius: 1px;
    height: 40px;
    width: 40px;
    padding: 0;
}
#fileTypes>div>button>i{
    font-size: 35px;
}
#favorites-selector-wrapper{
    position: absolute;
    z-index: 2;
    left: 45%;
    top: 5px;
    display: none;
}
.intersearch-logo{
    background-color: #dcdcdc;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(228, 35, 19);
    font-size: 180%;
}
.intersearch-logo img{
    vertical-align: top;
}
.search-bar{
    margin-bottom: 2px;
}
.search-text-container input[type=text]{
    padding-left: 24px;
    padding-right: 60px;
    color: #000;
    border: 1px solid #E42313;
}
.search-text-container{
    position: relative;
}
.search-text-container>a>i {
    position: relative;
}
.search-text-container i{
    position: absolute;
    top: 12px;
    left: 5px;
}
.search-bar a.search-form-reset{
    position: absolute;
    top: 0;
    right: 10px;
    color: black;
    font-size: 26px;
}
a.search-form-reset:hover{
    text-decoration: none;
}
.search-bar label.btn{
    padding: 0;
}
.btn-vertical-align>label.btn{
    line-height: 215%;
    padding-left: .4rem;
    padding-right: .4rem;
}
.btn-vertical-align>label.btn>svg{
    margin-left: .3rem;
    margin-right: .3rem;
}

.index-type-select.btn-vertical-align>label.btn{
    line-height: 230%;
}
.btn-vertical-align>label.btn img{
    height: 35px;
}
.search-toggles{
    padding-left: 5px;
    padding-right: 5px;
}

#expert-search-types-bar{
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
    z-index: 1;
    display: none;
}

/* Index type radios */
.index-type-select-wraper{
    text-align: center;
    margin: 1px 0;
}
.index-type-select{
    margin-bottom: 5px;
    display: inline;
}
.index-type-select>label.btn{
    display: none;
}
#searchbox .search-bar .index-type-select>.btn{
    /*border: 1px solid #555;*/
    border-radius: 10px;
    background: white;
    padding: 2px 5px;
    color: #333;
    font-weight: normal;
    margin: 2px;
}
#searchbox .search-bar .index-type-select>.btn.active{
    color: #E42313;
}
.index-type-select>.btn.disabled{
    background-color: #6c757d;
}

.breadcrumb-search-wrapper{
    font-size: 115%;
}
.breadcrumb-search-wrapper .badge a{
    color: white;
}

.breadcrumb-search-wrapper .less-search-bar{
    color: #E42313;
    text-decoration: none;
    font-weight: bold;
    font-size: 100%;
    line-height: 100%;
    border: 1px solid #E42313;
    border-radius: 5px;
    padding: 0 5px;
}
.breadcrumb-search-wrapper .less-search-bar:hover{
    color: grey;
    border-color: grey;
}

/* Total bar */
.total-bar-wrapper{
    min-height: 35px;
}
.total-bar-wrapper .btn-group{
    margin: 5px 5px 5px 0;
}
.total-bar{
    padding: 10px 0 2px 0;
}

#result-mode {
    margin-right: -10px;
}
#result-mode>.btn-group>.btn{
    margin-right: 10px;
    border-radius: .2rem;
}

/*#show-add-to-favorites-icons{
    float: right;
}*/

/* Total bar scrollable horizontal on mobiles */
@media (max-width:1024px){
    .total-bar-wrapper{
        overflow-x: auto;
    }
    .total-bar{
        white-space: nowrap;
    }
    /*#show-add-to-favorites-icons{
        float: none;
    }*/
}

/*.pagination{
    display: inline-block;
    padding: 1px 0;
}
.pagination .btn.btn-primary{
    background-color: #E42313;
    border-color: #E42313;
    color: white;
}*/

footer .finder-loading{
    display: none;
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 25px;
    background-color: orange;
    color: white;
    opacity: 0.8;
    z-index: 3;
}

#toggle-favorite-selector{
    font-size: 120%;
    font-weight: bold;
}
#toggle-favorite-selector:hover{
    text-decoration: none;
}

/* Change show level */
.change-show-level.bulk-change{
    position: absolute;
    right: 40px;
    top: -29px;
    z-index: 2;
    padding-bottom: 2px;
    border-bottom: 2px solid #E42313;
}

@media (max-width:1024px){
    .change-show-level.bulk-change{
        right: 20px;
        top: -2px;
    }
}

/* Advanced search */
a.string2advanced, a.advanced2string{
    /*position: absolute;
    top: 0;
    right: 43px;*/
    font-size: 26px;
    color: #212529;
    text-decoration: none;
}
a.string2advanced:before, a.advanced2string:before, a.search-form-reset:before{
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
}
a.string2advanced:before{
    content: '\f107';
}
a.advanced2string:before{
    content: '\f106';
}
a.search-form-reset:before{
    content: '\f00d';
}
#advanced-search{
    padding: 5px;
}
#advanced-search label>small{
    font-size: 75%;
}

.search-bars .more-search-bar,
.search-bars .less-search-bar{
    font-size: 230%;
    line-height: 100%;
}
.search-bars .more-search-bar:hover,
.search-bars .less-search-bar:hover{
    text-decoration: none;
}
.search-bars .more-search-bar{
    color: grey;
}
.search-bars .more-search-bar:hover{
    color: black;
}
.search-bars .less-search-bar{
    color: #E42313;
}
.search-bars .less-search-bar:hover{
    color: deeppink;
}
/* use client selection */
.selection-count{
    font-size: 70%;
    display: block;
    line-height: 15px;
    min-width: 34px;
}

#app-search-type-bar{
    padding: 0;
    margin: 0;
}
#app-search-type-bar .app-search-type{
    text-align: center;
    line-height: 2;
}
#app-search-type-bar button[data-search-type="favorites"]{
    position: relative;
}
#collection-selector-wrapper{
    position: absolute;
    left: 5px;
    top: 0;
    visibility: hidden;
    white-space: nowrap;
}
#app-search-type-bar select[name=favoritesGroup]{
    font-weight: bold;
}
@media (max-width:1024px){
    #app-search-type-bar .app-search-type{
        text-align: right;
    }
}
#app-search-type-bar .app-search-type button{
    /*text-transform: uppercase;
    border: 1px solid #555;*/
    font-size: 120%;
    border: none;
    border-radius: 10px;
    background: white;
    padding: 0 10px;
    color: #333;
    font-weight: bold;
    margin: 1px;
}
#app-search-type-bar .app-search-type button[data-search-type="favorites"]{
    overflow: hidden;
    white-space: nowrap;
    max-width: 160px;
}
@media (max-width:575px){
    #app-search-type-bar .app-search-type button{
        padding: 0 6px;
    }
}
#app-search-type-bar .app-search-type button.active{
    color: #E42313;
    text-decoration: none;
    outline: none;
}
#app-search-type-bar .app-search-type button:active{
    outline: none;
}

#app-search-type-bar .app-search-type button:hover{
    text-decoration: underline;
}
#app-search-type-bar .app-search-type button:disabled{
    color: grey;
    text-decoration: none;
}
#app-search-type-bar .app-search-type button.active select:not(:focus){
    color: #E42313;
}

/*#favorites-icons-show{
    padding: 0.12rem 0.25rem;
}*/
#show-level-btn{
    padding: 3px 6px;
}
@media (min-width:768px){
    #show-level-btn{
        margin-right: 16px;
    }
}

/* setup-container: start */
#setup-container{
    position: absolute;
    left: 30%;
    right: 0;
    top: 90px;
    bottom: 0;
    background: white;
    border: 1px solid grey;
    z-index: 5;
    overflow-y: auto;
}
#setup-container>.title{
    margin: 15px 10px;
    border-bottom: 1px solid #595858;
    text-align: center;
}
#setup-container>.title>a{
    color: #595858;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 40px;
    margin-right: 30px;
}
#setup-container>.title>a.active{
    text-decoration: underline;
}
#setup-container>.title>.close{
    float: none;
}
/* setup-container: end */

/* Logo bar: Start */
#logo-bar{
    padding-bottom: 4px;
    border-bottom: 2px solid #E42313;
}
#logo-bar .notify-message{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 100%;
    z-index: 3;
}
#logo-bar .notify-message a{
    color: #E42313;
}
#toggle-file-types{
    display: none;
}
@media (max-width:575px){
    #toggle-file-types{
        display: block;
        position: absolute;
        top: 0;
        left: 3px;
        font-size: 200%;
        z-index: 3;
        cursor: pointer;
    }
}
/* Logo bar: End */

/* User bar: Start */
#user-bar .user-icon{
    display: inline-block;
    border: 1px solid grey;
    border-radius: 20px;
    padding: 0 6px;
    font-size: 125%;
    margin-top: 3px;
    cursor: pointer;
}
#user-bar .test-user-logout{
    font-weight: bold;
    margin-left: 10px;
    font-size: 200%;
}
#user-bar .setup-link[data-section=rocket-chat]{
    font-size: 150%;
    margin: 0 -10px 0 10px;
    display: none;
}
@media (max-width:575px){
    #user-bar .user-icon{
        padding: 0 5px;
        font-size: 115%;
    }
    #user-bar .test-user-logout{
        font-size: 150%;
    }
    #user-bar .setup-link[data-section=rocket-chat]{
        margin-left: 5px;
    }
}
/*#user-menu {
    font-size: 35px;
    top: 3px;
    position: relative;
}*/
#user-menu-container {
    width: 240px;
    background-color: white;
    padding-bottom: 10px;
    border: 1px solid #555;
    right: 4px;
    color: #555;
    position: absolute;
    border-radius: 10px;
    z-index: 10;
}
#user-menu-container .topnav {
    position: relative;
    top: 5px;
}

#user-menu-container .topnav a {
    color: #555;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
    display: block;
}

#user-menu-container .topnav a.active {
    text-decoration: underline;
}

#user-menu-container .topnav a:hover {
    background-color: #ddd;
    color: black;
}
#user-bar a{
    color: grey;
}
/* User bar: end */

/* Settings: start */
#user-settings{
    margin: 10px 0;
    padding: 15px 15px 0 15px;
    border-radius: 5px;
    overflow-x: hidden;
}
#user-settings input[type=checkbox]{
    transform: scale(1.8);
}
#user-settings .is-valid{
    color: #E42313;
}
/* Settings: end */

.rocket-chat{
    display: inline-block;
}
.rocket-chat img{
    width: 30px;
    height: 30px;
}
.rocket-chat-im>i{
    color: grey;
}

#filters-bar{
    display: none;
    padding: 3px;
    border: 2px solid #ea3d73;
    border-radius: 5px;
}
#filters-bar hr{
    margin: 5px 0;
}

#report-only-bar{
    margin: 10px 0;
}

/* Tags */
#tags{
    margin: 10px 0;
}

/* Toolbar */
#toolbar a.client-info{
    color: #E42313;
}
#toolbar .title .file-name, #toolbar .title .as-ref-number{
    color: #E42313;
}
#toolbar .close{
    float: none;
    opacity: 1;
    text-shadow: none;
    color: white;
}

#toolbar .prev-next-result,
#toggle-similar-search{
    float: left;
    padding-right: 10px;
}

.share-buttons{
    margin-bottom: 10px;
}
.share-buttons>a.btn{
    margin: 2px;
}

/* File details */
#right-container{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: white;
    overflow-y: hidden;
    overflow-x: hidden;
}
#setup-container{
    display: none;
}

#details{
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
}
@media (max-width:767px){
    #details{
        top: 85px;
    }
}

#details .file-name{
    color: #007bff;
}
#details .file-name:hover{
    cursor: pointer;
    color: #0056b3;
    text-decoration: underline;
}
#details .file-upload-date{
    border: 1px solid gray;
    padding: 3px;
    font-size: 80%;
}
#details .file-meta{
    display: none;
    list-style-type: none;
}

.page-navigation {
    border: none;
    text-align: center;
}
.file-next-page, .file-prev-page {
    border-radius: 1rem;
}

#iframe-zoom{
    margin: 0 10px;
    float: right;
}
#iframe-zoom a{
    color: black;
}
#iframe-zoom a:hover{
    color: #E42313;
}

#preview-file-container>.swipe-area{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
}

img[src^='img/flags/']{
    width: 30px;
    height: 20px;
}

/* AS details */
.as-content{
    float: left;
    width: 70%;
    font-size: 10pt;
}
.as-content .list-group-item{
    border: none;
    padding: 0.3rem;
}
.as-content p{
    margin: 0;
}
.as-images{
    float: left;
    width: 30%;
    font-size: 9pt;
}

.pdf-page-image{
    max-width: 100%;
    max-height: 100%;
}

.search-by-client img{
    width: 32px;
    height: 32px;
}

a.search-by-client,  a.search-by-client:hover{
    color: black;
}
a.search-by-client.has-user-access,  a.search-by-client.has-user-access:hover{
    color: #E42313;
}

#select-all{
    display: none;
    margin-right: 15px;
}
#selection-mode{
    float: right;
    position: relative;
    margin-right: 11px;
}
#selection-mode .items-counter{
    background-color: #212529;
    border-radius: 1rem;
    padding: 1px 8px;
    position: absolute;
    top: -11px;
    left: 20px;
    z-index: 3;
    display: none;
}

#searchbox .total-bar a.clear-selection{
    float: right;
    margin-right: 10px;
    color: black;
    font-size: 150%;
}

#sum-all-orders{
    float: right;
    margin-right: 1px;
}

/* Dialogs */
#send-file-dialog input, textarea{
    width: 235px;
}

#dialog-on-right{
    margin: 5px 0;
    padding: 5px;
    border-radius: 5px;
}
#dialog-on-right label,
#dialog-on-right input,
#dialog-on-right button,
#dialog-on-right select{
    margin: 3px;
    vertical-align: top;
}

/* Translate langs */
#translate-langs {
    display: inline-block;
}
#translate-langs a{
    padding: 4px;
}
#translate-langs a.active{
    border: 1px solid #E42313;
}
#translate-langs a.shaded,
a.as-info.shaded{
    filter: grayscale(100%);
}

/* Google search: start */
#google-search img{
    width: 25px;
    height: 25px;
}
/* Google search: end */

.nowrap{
    white-space: nowrap;
}

/* siccode: start */
#siccode-wrapper{
    position: relative;
}
#siccode-wrapper .siccode-reset{
    position: absolute;
    right: 25px;
    top: 0;
    font-size: 120%;
    color: black;
}

/* collapse sub-categories */
#select2-siccode-results .select2-results__options--nested{
    display: none;
}
/* siccode: end */

/*favorite groups overview: start*/
#fav-groups-overview{
    position: relative;
}
#fav-groups-overview .sorted.sort-asc:after{
    content: "\2191";
}
#fav-groups-overview .sorted.sort-desc:after{
    content: "\2193";
}
#fav-groups-overview a{
    color: #595858;
}
#fav-groups-overview th a{
    color: #212529;
}
#fav-groups-overview th a.filter-by-rc {
    font-size: 25px;
}
#fav-groups-overview th a.filter-by-rc.active {
    color: #E42313;
}
#fav-groups-overview th a.filter-by-archive.active {
    color: #E42313;
}
#fav-groups-overview th a.extend{
    font-size: 150%;
    line-height: 100%;
}
#fav-groups-overview a.active,
#fav-groups-overview a:hover{
    color: #E42313;
}
#fav-groups-overview>tbody>tr.active>td{
    background-color: #FFEBAD;
}
#fav-groups-overview .remove-from-fav-group{
    display: none;
}
#fav-groups-overview .active .remove-from-fav-group{
    display: inline-block;
}
.search-input-wrapper{
    position: relative;
    white-space: nowrap;
}
.search-input-wrapper i{
    position: absolute;
    top: 7px;
    left: 3px;
}
.search-input-wrapper input{
    padding-left: 21px;
    width: 215px;
}
.search-input-wrapper a.search-form-reset{
    position: relative;
    top: 0;
    color: #212529;
    right: 20px;
}
#fav-groups-overview .search-input-wrapper{
    float: left;
}
#fav-groups-overview .action-buttons{
    float: left
}
#fav-groups-overview .action-buttons a{
    font-size: 150%;
    margin-right: 15px;
}
caption {
    text-align: center;
    caption-side: top;
    font-size: 1.2rem;
    color: #212529;
}
#fav-groups-overview .toggle-permissions-fav-doc-groups{
    background-color: #595858;
    color: #ffffff;
    padding: 4px 8px 4px 8px;
    border-radius: 5px;
    border: none;
    outline: none;
}
#fav-groups-overview .toggle-permissions-fav-doc-groups:hover {
    background-color: #E42313;;
}
button.rocket-chat{
    background-color: transparent;
    border: none;
    font-size: 22px;
    outline: none;
}
button.rocket-chat-inactive{
    background-color: transparent;
    border: none;
    font-size: 22px;
    outline: none;
    color: #595858;
}
button.rocket-chat{
    color: #E42313;
}
.add-or-del-rc>i{
    font-size: 22px;
}
#fav-groups-overview .toggle-rc-share.active{
    color: #E42313;
}
#fav-groups-overview .toggle-rc-share:before{
    font-family: "Font Awesome 6 Free";
    content: '\f06e';
}
#fav-groups-overview .toggle-rc-share.active:before{
    content: '\f070';
}
#fav-groups-overview .extended{
    display: none;
}
#fav-groups-overview .add-to-fav-group,
#fav-groups-overview .remove-from-fav-group{
    font-size: 140%;
}
/*favorite groups overview: end*/

/*favorite permissions: start*/
#permissions-fav-doc-groups{
    position: relative;
}
#permissions-fav-doc-groups a.setup-back-collections,
#permissions-fav-doc-groups a.setup-back-nodes{
    color: grey;
    float: left;
    margin-left: 20px;
}
/*favorite permissions: end*/

/*permissions manage: start*/
#permissions-manage{
    position: relative;
}
#permissions-manage select[name=landCode]{
    max-width: 120px;
}
#permissions-manage a{
    color: #595858;
}
#permissions-manage .filter-checked.active{
    color: #E42313;
}
/*permissions manage: end*/

/*view stats: start*/
#view-stats,
#lang-codes{
    position: relative;
}
#view-stats .sorted.sort-asc:after,
#lang-codes .sorted.sort-asc:after{
    content: "\2191";
}
#view-stats .sorted.sort-desc:after,
#lang-codes .sorted.sort-desc:after{
    content: "\2193";
}
#view-stats table a,
#ai-chat-stats table a,
#chat-user-message-count table a,
#lang-codes a{
    color: #595858;
}
#view-stats th a,
#ai-chat-stats  th a,
#chat-user-message-count th a,
#lang-codes th a{
    color: #212529;
}
#view-stats a:hover,
#ai-chat-stats a:hover,
#chat-user-message-count a:hover,
#lang-codes a:hover{
    color: #E42313;
}
#view-stats span,
#ai-chat-stats span,
#chat-user-message-count span,
#lang-codes span {
    color: #595858;
}
#lang-codes a.search-form-reset{
    position: relative;
    top: 0;
    color: #212529;
    right: 20px;
}
/*view stats: end*/

/* RocketChat: start */
/* rocket-chat-list: start */
#rocket-chat-list{
    position: absolute;
    left: 0;
    width: 345px;
    top: 0;
    bottom: 7px;
    background-color: rgb(242, 242, 242);
    overflow-y: auto;
}
@media (max-width:767px){
    #rocket-chat-list{
        width: 100%;
    }
}
#rocket-chat-list>.search{
    border-bottom: 1px solid black;
    padding: 10px;
    margin: 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 41px;
}
#rocket-chat-list>.search>input{
    background: transparent;
    border: none;
    outline: none;
    width: calc(100% - 40px);
}
#rocket-chat-list>.search a.search-form-reset{
    color: black;
}
#rocket-chat-list>.filters{
    padding: 10px;
    margin: 10px;
    position: absolute;
    top: 41px;
    left: 0;
    right: 0;
    height: 52px;
}
#rocket-chat-list>.filters a.filter-by-type{
    background-color: white;
    color: rgb(228, 35, 19);
    border-radius: 8px;
    width: 32px;
    height: 32px;

    border: 2px solid white;
    line-height: 100%;
    display: inline-block;
    text-align: center;
    padding: 5px;
    margin-right: 10px;
    float: left;
}
#rocket-chat-list>.filters a.filter-by-type:hover{
    /*background-color: rgba(0, 0, 0, 0.04);*/
    text-decoration: none;
}
#rocket-chat-list>.filters a.filter-by-type.active{
    border: 2px solid rgb(228, 35, 19);
}
#rocket-chat-list>.filters a.filter-by-type[data-type^="expert"]{
    width: 55px;
    float: right;
}
#rocket-chat-list>.filters a.filter-by-type[data-type="expert-client"]{
    background-image: url('../img/general/expert-client.png');
}
#rocket-chat-list>.filters a.filter-by-type[data-type="expert-report"]{
    background-image: url('../img/general/expert-report.png');
}
#rocket-chat-list>.list{
    position: absolute;
    top: 103px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
}
#rocket-chat-list>.list>div>a{
    display: block;
    padding: 0 10px;
    height: 52px;
    line-height: 52px;
    color: black;
    position: relative;
    overflow: hidden;
}
#rocket-chat-list>.list>div>a:hover{
    text-decoration: none;
    background-color: rgb(229, 229, 229);
}
#rocket-chat-list>.list>div>a.active{
    color: white;
    background-color: rgb(26, 26, 26);
}
#rocket-chat-list>.list>div>a.alert{
    color: red;
}
#rocket-chat-list>.list>div>a.archived{
    color: lightgrey;
}
#rocket-chat-list>.list>div>a>.avatar{
    position: relative;
    background-color: rgb(230, 230, 230);
    color: rgb(204, 204, 204);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    line-height: 32px;
    text-align: center;
}
#rocket-chat-list>.list>div>a:hover>.avatar{
    background-color: rgb(204, 204, 204);
    color: rgb(153, 153, 153);
}
#rocket-chat-list>.list>div>a.active>.avatar{
    background-color: rgb(51, 51, 51);
    color: rgb(102, 102, 102);
}
#rocket-chat-list>.list>div>a>.avatar>.status{
    width: 8px;
    height: 8px;
    border-radius: 4px;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: rgb(228, 35, 19);
}
#rocket-chat-list>.list>div>a>.avatar>.status.online{
    background-color: rgb(0, 187, 126);
}
#rocket-chat-list>.list>div>a>.avatar>.status.offline{
    background-color: rgb(228, 35, 19);
}
#rocket-chat-list>.list>div>a>.unread,
#sidebar .menu_item>.unread {
    position: absolute;
    top: 25%;
    right: 10px;
    bottom: 25%;
    width: 22px;
    border-radius: 4px;
    background-color: rgb(229, 229, 229);
    color: black;
    font-size: 12px;
    text-align: center;
    line-height: 200%;
}
/* rocket-chat-list: end */

/* stats general: start*/
#setup-container .stats-filter{
    margin: 10px;
}
#setup-container .stats-filter>div{
    margin: 5px auto;
}
#setup-container .stats-filter a{
    color: gray;
}
#setup-container .stats-filter a.active{
    color: rgb(228, 35, 19);
}
#setup-container .chart>div:first-child{
    margin: 0 25px;
}
#setup-container .chart>div:first-child a{
    color: gray;
}
#setup-container .chart>div:first-child a.active{
    color: rgb(228, 35, 19);
}
/* stats-general: end */

#rocket-chat-vue, #ai-assistant-vue{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: hidden;
}
#rocket-chat-vue iframe, #ai-assistant-vue iframe{
    border: none;
    width: 100%;
    height: 100%;
}


#rocket-chat-container{
    position: absolute;
    left: 346px;
    right: 0;
    top: 0;
    bottom: 7px;
}
@media (max-width:767px){
    #rocket-chat-container{
        left: 0;
        display: none;
    }
    #rocket-chat-container.opened{
        display: block;
    }
}
#rocket-chat-container .back-arrow{
    position: absolute;
    top: 20px;
    left: 10px;
    display: none;
}
@media (max-width:767px){
    #rocket-chat-container>.back-arrow{
        display: block;
    }
}
#rocket-chat-container .back-arrow a{
    color: grey;
    font-size: 200%;
}
#rocket-chat-container .actions-bar{
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 140%;
}
#rocket-chat-container .actions-bar a{
    color: grey;
    margin-right: 10px;
}
#rocket-chat-container iframe{
    border: none;
    width: 100%;
    height: 100%;
}

#rc-subscriptions-p a, #rc-subscriptions-d a{
    color: #595858;
    font-size: 120%;
    position: relative;
}
#rc-subscriptions-p a.rc-alert, #rc-subscriptions-d a.rc-alert{
    color: #E42313;
}
#rc-subscriptions-p .rc-last-message {
    color: grey;
}
#rc-subscriptions-d .rc-last-message {
    color: grey;
}
#rc-subscriptions-p .rc-chat,
#rc-subscriptions-d .rc-chat {
    position: relative;
}
#rc-subscriptions-d .rc-chat i.fa-solid.fa-circle{
    color: lightgreen;
}
#rc-subscriptions-p .message-date.unread,
#rc-subscriptions-d .message-date.unread {
    color: #E42313;
}
#rc-subscriptions-p .message-date,
#rc-subscriptions-d .message-date {
    position: absolute;
    top: 6px;
    right: 3px;
    color: grey;
}
#rc-subscriptions-p .rc-icon,
#rc-subscriptions-d .rc-icon {
    width: 53px;
    height: 53px;
    background-color: grey;
    color: white;
    font-size: 26px;
    padding: 5px 0 0 18px;
    margin: 0 -40px 0 0;
    border-radius: 10px;
}
#rc-subscriptions-p .rc-avatar,
#rc-subscriptions-d .rc-avatar {
    width: 60px;
}
#rc-subscriptions-p .unread-count,
#rc-subscriptions-d .unread-count{
    position: absolute;
    right: 3px;
    top: 30px;
    background-color: #595858;
    color: white;
    font-size: 14px;
    padding: 1px 8px;
    font-weight: bold;
    border-radius: 1rem;
}
#rc-subscriptions-filter a.search-form-reset{
    position: relative;
    top: 0;
    color: #212529;
    right: 20px;
}
#rc-subscriptions-p a.active,
#rc-subscriptions-d a.active{
    color: #E42313;
}

/* RocketChat: end */

/* Login form: start */
#login-screen{
    margin: 10px;
    padding: 20px;
    width: 500px;
    border: 1px solid black;
}
@media (max-width:575px){
    #login-screen{
        width: 95%;
    }
}
#login-screen>.title{
    font-size: 120%;
    margin-bottom: 10px;
}
#login-screen .error{
    color: red;
}
#login-screen input{
    width: 100%;
    margin: 10px 0;
}
#login-screen>.buttons{
    text-align: right;
}
#login-screen>.buttons>button{
    border-radius: 8px;
    padding: 0 24px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.4px;
    line-height: 16px;
    height: 48px;
    width: 45%;
    max-width: 140px;
    cursor: pointer;
}
#login-screen>.buttons>button.button-action{
    font-weight: bold;
    color: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgb(241, 105, 68) 0%, rgb(228, 35, 19) 100%);
    box-shadow: rgba(228, 35, 19, 0.69) 0 8px 16px -8px;
    border: none;
    margin-left: 20px;
}
/* Login form: end */

/* Bootstrap quick override: Start */
/*body > .container-fluid{
    padding-left: 0;
    padding-right: 0;
}
body > .container-fluid > .row{
    margin: 0;
}*/
/* primary btn colors */
.btn-primary,
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show>.btn-secondary.dropdown-toggle,
.btn-primary:hover,
.btn-primary:focus{
    background-color: #E42313;
    border-color: #E42313;
    box-shadow: none;
}

.btn-primary.disabled, .btn-primary:disabled{
    background-color: #FF7F7F;
    border-color: #FF7F7F;
}
.btn.disabled:focus{
    box-shadow: none;
}

/*.green-bar .btn-primary,
.green-bar .btn-secondary:not(:disabled):not(.disabled).active,
.green-bar .btn-secondary:not(:disabled):not(.disabled):active,
.green-bar .show>.btn-secondary.dropdown-toggle,
.green-bar .btn-primary:hover,
.green-bar .btn-primary:focus{
    background-color: #8dc63f;
    border-color: #8dc63f;
}
.green-bar>label.btn{
    padding-top: 1px;
    padding-bottom: 1px;
}
.btn.btn-green{
    color: white;
    background-color: #8dc63f;
}
.btn.btn-green:hover{
    background-color: #7ed78f;
}
.btn.btn-green:not(:disabled):not(.disabled).active,
.btn.btn-green:not(:disabled):not(.disabled):active{
    background-color: #00c800;
}*/
/* Navbar: */
.navbar{
    padding: 0 0 2px 0;
}
.navbar-light .navbar-toggler {
    border-color: transparent;
    padding: 0;
}
#menu{
    border: 2px solid #666666;
    padding: 5px;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .35rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

.badge-danger{
    background-color: #E42313;
}
/* Bootstrap quick override: End */