.bg-main {
    background-color: #c4272e;
}

#header-top .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .5);
}

#header-top .navbar-nav .nav-link:hover {
    color: rgba(0, 0, 0, .7);
}

#header-top .navbar-nav .nav-item.active .nav-link {
    color: rgba(0, 0, 0, .9);
    font-weight: bold;
}

#header-top .navbar-nav .nav-item {
    margin-right: .5rem;
}

#header-top .navbar-nav .nav-item:last-child {
    margin-right: 0;
}

#header-top .dropdown-item {
    color: rgba(0, 0, 0, .5);
    margin-bottom: .25rem;
}

#header-top .dropdown-item:last-child {
    margin-bottom: 0;
}

#header-top .dropdown-item i {
    width: 18px;
    margin-right: .25rem!important;
}

#header-top .dropdown-item:hover {
    color: rgba(0, 0, 0, .7);
}

#header-top .dropdown-item:active, #header-top .dropdown-item.active {
    color: #fff;
    background-color: #014AB7;
}

#countdown-block {
    /* position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); */
}

.popover {
    border: none !important;
    /* box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; */
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
    /* margin-left:  */
}

/* .bs-popover-right {
    margin-left: -30px;
}

.bs-popover-left {
    margin-right: -30px;
} */

.popover .arrow::after, .popover .arrow::before {
    border: none !important;
}

/* .btn, .form-control {
    border-radius: 0;
} */

.btn-main {
    background-color: #c4272e;
    border-color: #c4272e;
    color: #fff;
}

.btn-main:hover {
    background-color: #AA2228 !important;
    border-color: #AA2228 !important;
    color: #fff;
}

#agenda-block .nav-pills .nav-link.active, #agenda-block .nav-pills .show>.nav-link, #document-block .nav-pills .nav-link.active, #document-block .nav-pills .show>.nav-link {
    color: #fff !important;
    background: #ed111a !important;
    border-color: #ed111a !important;
}

#agenda-block .nav-pills .nav-link, #document-block .nav-pills .nav-link {
    color: #c4272e;
    transition: all .2s ease-in-out;
    margin-right: .5rem;
    border-radius: 0 !important;
    border: 2px solid #c4272e;
}

#agenda-block .nav-pills .nav-link:hover, #document-block .nav-pills .nav-link:hover {
    color: #fff !important;
    background: #ed111a !important;
    border-color: #ed111a !important;
}

.btn-outline-danger {
    color: #ed111a;
    border-color: #ed111a;
}

.btn-outline-danger:hover {
    background-color: #ed111a;
    /* color: #fff; */
}

.overlay-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(238, 238, 238, .9);
}

.lives-video-overlay-block {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
}

#search-chat-input:focus, #search-members-input:focus {
    /* box-shadow: none; */
}

#message-networking:focus {
    /* box-shadow: none; */
}

.chat-items, .all-members-items {
    position: relative;
    border-radius: .5rem!important;
    margin-bottom: .5rem;
    opacity: 0;
    /* transition: opacity 1s ease-in-out; */
    transition: background .2s ease-in-out;
    cursor: pointer;
    background: transparent;
}

.chat-items.show, .all-members-items.show {
    opacity: 1;
}

.chat-items.active, .all-members-items.active {
    background-color: #f8f9fa!important;
}

.chat-items:hover, .all-members-items:hover {
    background-color: #f8f9fa!important;
}

.chat-items:last-child, .all-members-items:last-child {
    margin-bottom: 0;
}

.chat-items.animate-noty {
    background: rgba(1, 59, 145, 0.1);
}

.chat-items .noty {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 50rem;
    padding: 2px 6px;
    background-color: #ed111a;
    color: #fff;
    font-size: 10px;
}

.chat-items .noty.show {
    display: block;
}

.all-members-items .btn-all-members-chat {
    display: none;
}

.all-members-items:hover .btn-all-members-chat {
    display: inline-block;
}

.networking-title-block {
    height: 64px;
    line-height: 64px;
}

input#message:focus, input#message-chat:focus, input#message-qa:focus {
    box-shadow: none !important;
    z-index: 1;
}

.chat-block-body .messages-card-block {
    overflow-y: auto;
}

.message-container:first-of-type {
    border-top-width: 0;
}

.message-container.visible {
    opacity: 1;
}

.message-container {
    display: block;
    margin-top: 5px;
    padding-bottom: 5px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding-left: .5rem!important;
    padding-right: .5rem!important;
}

.message-container .message-body {
    padding-left: 8px;
    padding-right: 8px;
    word-break: break-word!important;
    overflow-wrap: break-word!important;
    word-wrap: break-word!important;
}

.message-container .name {
    width: 100%;
    margin-right: 8px;
    color: #757575;
    font-size: 13px;
    box-sizing: border-box;
    font-weight: 500;
}

.message-container .message {
    /* width: calc(100% - 40px); */
    display: inline-block;
    /* padding: 4px 10px; */
    border-radius: .25rem!important;
    text-align: left;
    font-size: 13px;
}

.message-container .message > div {
    padding: 4px 10px;
}

.message-container .pic {
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    background-size: 24px;
    border-radius: 20px;
}

.message-container .chat-time {
    color: #757575;
    font-size: 10px;
    box-sizing: border-box;
    opacity: 1;
    /* font-weight: lighter; */
    margin-top: 3px;
}

.message-container .chat-members-title {
    /* color: #757575; */
    font-size: 10px;
    /* box-sizing: border-box; */
    opacity: 1;
    /* font-weight: lighter; */
    margin-bottom: 3px;
}

.message-container .right {
    text-align: right;
}

.message-container .right .chat-time {
    margin-right: 6px;
}

.message-container .left {
    text-align: left;
}

.message-container .left .chat-time {
    margin-left: 6px;
}

.bg-loading-content {
    background-color: #ddd;
}

.dropdown-item.disabled, .dropdown-item:disabled {
    color: rgba(0, 0, 0, .25) !important;
}

.btn-upload-file {
    position: relative;
}

.btn-upload-file input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    filter: alpha(opacity=0);
    opacity: 0;
}

.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons, .jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons {
    float: unset !important;
    text-align: center;
    margin-bottom: .25rem!important;
}

.jconfirm .jconfirm-box div.jconfirm-title-c {
    padding-bottom: .5rem!important;
}

.jconfirm .jconfirm-box .jconfirm-title {
    width: 100%;
}

.jconfirm .jconfirm-box.jconfirm-type-red {
    border-color: #dc3545!important;
}

.jconfirm .jconfirm-box.jconfirm-type-orange {
    border-color: #ffc107!important;
}

.jconfirm .jconfirm-box.jconfirm-type-green {
    border-color: #28a745!important;
}

.jconfirm .jconfirm-box.jconfirm-type-blue {
    border-color: #17a2b8!important;
}

.jconfirm .jconfirm-box {
    padding: 20px 15px 0 !important;
}

.spinner-border {
    position: relative;
    top: -2px;
}

.spinner-border.spinner-border-sm {
    position: relative;
    top: -1px !important;
    margin-right: .25rem!important;
}

.jconfirm-content {
    display: none;
}

form label.error {
    color: #dc3545 !important;
    font-size: 13px;
    margin-bottom: 0;
}

form .form-control.error {
    border-color: #dc3545;
}

#profile-sidebar-block a {
    color: rgba(0, 0, 0, .5)
}

#profile-sidebar-block a:hover {
    color: rgba(0, 0, 0, .7);
    text-decoration: none;
}

#profile-sidebar-block a.active {
    font-weight: bold;
    color: rgba(0, 0, 0, .9)
}

#profile-sidebar-block a i {
    width: 18px;
    margin-right: .25rem!important;
}

#header-profile-picture-block {
    width: 32px;
    height: 32px;
}

#profile-picture-block {
    width: 180px;
    height: 180px;
}

#btn-profile-picture-open-modal {
    position: absolute;
    right: 9px;
    bottom: 9px;
    height: 40px;
    line-height: 40px;
    width: 40px;
    text-align: center;
    background-color: #fff;
}

#btn-profile-picture-open-modal:hover {
    background-color: #f5f5f5;
}

textarea {
    resize: none;
}

.border-eee {
    border-color: #eee!important;
}

.chat-profile-picture-block, .reply-profile-picture-block {
    width: 24px;
    height: 24px;
    background-size: 100% !important;
}

.tab-content-block {
    overflow-y: auto;
}

#sidebar-block .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .5);
}

#sidebar-block .navbar-nav .nav-link:hover {
    color: rgba(0, 0, 0, .7);
}

#sidebar-block .navbar-nav .nav-item.active .nav-link {
    color: rgba(0, 0, 0, .9);
    font-weight: bold;
}

/* .btn-danger {
    background-color: #ed111a;
    border-color: #ed111a;
} */

.bg-red {
    background-color: #ed111a;
}

.bg-live {
    background: #e52d27;
    background: -webkit-linear-gradient(to top, #b31217, #e52d27);
    background: linear-gradient(to top, #b31217, #e52d27);
    color: #fff !important;
}

.btn-live {
    background: rgba(0, 0, 0, .5);
    color: #fff;
}

.btn-live:hover {
    background: rgba(0, 0, 0, .7);
    color: #fff;
}

#reply-block .reply-members-title, .message-container .reply-members-title {
    font-size: 12px;
    opacity: 1;
    font-weight: bold;
}

#reply-block .reply-message {
    display: inline-block;
    text-align: left;
    font-size: 12px;
    line-height: unset !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.message-container .reply-message {
    display: inline-block;
    text-align: left;
    font-size: 12px;
    line-height: unset !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* color: rgba(255, 255, 255, .5); */
}

.message-container .bg-main .reply-message {
    color: rgba(255, 255, 255, .5);
}

.message-container .bg-white .reply-message {
    color: rgba(0, 0, 0, .5);
}

.message-container .bg-main .reply-prepend-block {
    border-bottom: 1px solid #AA2228;
}

.message-container .bg-white .reply-prepend-block {
    border-bottom: 1px solid #dee2e6;
}

.message-container .bg-main .seemore-block {
    border-top: 1px solid #AA2228;
}

.message-container .bg-white .seemore-block {
    border-top: 1px solid #dee2e6;
}

.networking-all-members-items-profile-pictures {
    width: 50px;
    height: 50px;
}

#networking-block #chat-block-body {
    overflow-y: auto;
}

#networking-sidebar-block, #networking-all-members-block {
    overflow: hidden;
}

#partners-block .row > div, #sponsor-block .row > div {
    max-width: max-content !important;
}

.text-line-1 {
    line-height: unset !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-width: 170px;
}

.noty-text-line-1 {
    line-height: unset !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.lds-ring {
    display: inline-block;
    position: absolute;
    width: 80px;
    height: 80px;
    left: 50%;
    top: 50%;
    transform: translate(-50%);
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #6c757d;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #6c757d transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.page-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .6);
}

.page-loader.show {
    display: block;
    z-index: 9999;
}


.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
    -webkit-box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
    -moz-box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

#noty_layout__topCenter {
    top: 6px;
    width: 100%;
}

#noty_layout__topCenter .noty_body {
    padding: 0 !important;
}

#noty_layout__topCenter .noty-content {
    padding: .75em 1em;
}

#networking-sidebar-block-body, #networking-all-members-content {
    overflow-y: auto;
}

.seemore:hover, .seemore *:hover {
    cursor: pointer;
}

.border-top-main {
    border-top: 1px solid #AA2228;
}

.text-main {
    color: #c4272e;
}

#online-users-block-content {
    overflow-y: auto;
}

#new-meassage-block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    z-index: -1;
}

#new-meassage-block.show {
    z-index: 1;
}

#new-meassage {
    background-color: #f8f9fa;
}

#new-meassage:hover {
    cursor: pointer;
    background-color: #fff;
}


#submit-chat {
    background: transparent;
    color: #c4272e;
}



