/*  STYLES FOR "cui-topbar" MODULE */
.cui-topbar {
    min-height: 64px;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-pack: justify;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid black;
    color: black;
    padding: 0 1.53rem;
}

.cui-topbar-avatar {
    width: 2.5rem;
    height: 3rem;
    text-align: center;
    /*background-color: #eef0f4;*/
    /*border-color: #d2d9e5;*/
    display: inline-block;
    overflow: hidden;
    border-radius: 5px;
}

.cui-topbar-avatar img {
    position: relative;
    top: 3px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cui-topbar-avatar-dropdown {
    margin-top: 5px;
}

.cui-topbar-avatar-dropdown .dropdown-toggle {
    padding-right: 1.38rem;
    display: inline-block;
}

.cui-topbar-avatar-dropdown .dropdown-toggle:after {
    position: absolute;
    top: 50%;
    margin-top: -5px;
    right: 0rem;
}

.cui-topbar-left {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.cui-topbar-left .cui-topbar-item {
    margin-right: 1.53rem;
}

.cui-topbar-left .cui-topbar-item:last-child {
    margin-right: 0;
}

.cui-topbar-right {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.company .cui-topbar-right.rightblock {
    border-left: 1px solid black;
    width: 17rem;
}

.cui-topbar-right .cui-topbar-item {
    margin-left: 1.53rem;
    top: 4px;
    position: relative;
}

.cui-topbar-item.right-align {
    text-align: right;
    flex: 1;
}

.cui-topbar-mini-chart {
    height: 2.3rem;
    line-height: 2.3rem;
    margin-left: 1.53rem;
}

@media (max-width: 1300px) {
    .cui-topbar-mini-chart {
        display: none;
    }
}

.cui-topbar-mini-chart-inner {
    height: 80%;
    display: -webkit-inline-box;
    display: inline-flex;
    vertical-align: sub;
    margin: 0 0.38rem;
}

.cui-topbar-mini-chart-inner i {
    display: block;
    float: left;
    width: 4px;
    background: #0190fe;
    margin-right: 1px;
    align-self: flex-end;
}

.cui-topbar-menu-button {
    cursor: pointer;
    height: 2.3rem;
    color: #d2d9e5;
    font-size: 1.23rem;
    -webkit-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}

.cui-topbar-menu-button:hover {
    color: #b8beca;
}

.cui-topbar-search {
    position: relative;
}

.cui-topbar-search input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid black;
    padding-bottom: 5px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    height: 2rem;
    width: 29rem;
    font-size: 1.2rem;
    margin-left: 1.5rem;
}

.cui-topbar-search input:focus, .cui-topbar-search input:hover {
    border-color: #198842;
}


.radio-control {
    font-size: 1rem;
    /*font-weight: bold;*/
    line-height: 1.1;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}

input[type="radio"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    /* For iOS < 15 */
    background-color: transparent;
    /* Not removed via appearance */
    margin: 0;

    font: inherit;
    color: black;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid black;
    border-radius: 50% !important;
    transform: translateY(-0.075em);

    display: grid;
    place-content: center;
}

input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50% !important;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #198842;
}

input[type="radio"]:checked::before {
    transform: scale(1);
}

@media screen and (max-width: 580px) {
    .cui-topbar-search {
        margin-left: 3rem;
    }

    .cui-topbar-search input {
        width: 15rem;
        margin-left: 0;
    }
}

.cui-topbar-search i {
    position: absolute;
    top: 10px;
    left: 14px;
    cursor: pointer;
    color: #d2d9e5;
}

.cui-topbar-search i:hover {
    color: #615d7c;
}

/*  NOTIFICATION BLOCK (TOP MENU) */
.cui-topbar-activity {
    width: 22.3rem;
    margin: -0.54rem 0;
    background: #fff;
}

.cui-topbar-activity-item {
    border-bottom: 1px solid #e4e9f0;
    padding: 0.76rem 0;
    position: relative;
}

.cui-topbar-activity-item:last-child {
    border-bottom: 0;
}

.cui-topbar-activity-item:hover {
    background: #eef0f4;
}

.cui-topbar-activity-item:hover .cui-topbar-activity-icon {
    background: #a7a9ab;
    color: #fff;
    border-color: #a7a9ab;
}

.cui-topbar-activity-icon {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding-top: 0.92rem;
    font-size: 1.23rem;
    width: 3.07rem;
    text-align: center;
    color: #d2d9e5;
    background: #f2f4f8;
    border-bottom: 1px solid #eef0f4;
}

.cui-topbar-activity-inner {
    margin-left: 3.84rem;
    padding-right: 1.15rem;
}

.cui-topbar-activity-inner label {
    font-size: 0.92rem;
}

.cui-topbar-activity-descr {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cui-topbar-activity-title > span {
    font-size: 1rem;
    color: #d2d9e5;
}

/*  LIVESEARCH */
.cui-topbar-livesearch {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 12000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.cui-topbar-livesearch-visible {
    opacity: 1;
    visibility: visible;
}

.cui-topbar-livesearch-close {
    font-size: 0.92rem;
    color: #acb7bf;
    position: absolute;
    top: 2.3rem;
    right: 2.3rem;
    cursor: pointer;
    outline: none !important;
    z-index: 1;
    border: none;
    background-color: transparent;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.cui-topbar-livesearch-close:hover {
    color: black;
}

.cui-topbar-livesearch-wrapper {
    padding-top: 1.07rem;
    padding-left: 5rem;
    padding-right: 1.15rem;
    line-height: 1.7;
}

@media screen and (max-width: 767px) {
    .cui-topbar-livesearch-wrapper {
        padding-left: 2.3rem;
        padding-right: 2.3rem;
    }
}

@media screen and (max-width: 543px) {
    .cui-topbar-livesearch-wrapper {
        padding-left: 1.53rem;
        padding-right: 1.53rem;
    }
}

.cui-topbar-livesearch-logo {
    height: 3.46rem;
}

.cui-topbar-livesearch-logo-container {
    margin-top: 1.53rem;
    margin-bottom: 2.3rem;
}

.cui-topbar-livesearch-input {
    width: 100%;
    border: none;
    font-size: 4.92rem;
    background-color: transparent;
    font-weight: bold;
    padding: 0;
    margin-bottom: 1.53rem;
}

@media screen and (max-width: 767px) {
    .cui-topbar-livesearch-input {
        font-size: 3.07rem;
    }
}

.cui-topbar-livesearch-options {
    padding: 0;
    margin: 0;
    margin-bottom: 2.3rem;
    list-style: none;
}

.cui-topbar-livesearch-option {
    display: inline-block;
    margin-right: 2rem;
    font-size: 1rem;
    color: black;
}

.cui-topbar-livesearch-option:last-child {
    margin-right: 0;
}

.cui-topbar-livesearch-suggestion {
    margin-bottom: 3.07rem;
}

@media (max-width: 767px) {
    .cui-topbar-livesearch-suggestion {
        margin-bottom: 1.15rem;
    }
}

.cui-topbar-livesearch-results-title {
    font-weight: 700;
    margin-bottom: 1.53rem;
}

.cui-topbar-livesearch-result {
    display: block;
    margin-left: 5.38rem;
    padding-top: 0.61rem;
}

.cui-topbar-livesearch-result-thumb {
    display: block;
    width: 3.84rem;
    height: 3.84rem;
    border-radius: 4px;
    overflow: hidden;
    background-color: #acb7bf;
    color: #fff;
    line-height: 4.15rem;
    text-align: center;
    font-size: 1.38rem;
    font-weight: bold;
    background-size: cover;
    float: left;
}

.cui-topbar-livesearch-result-content {
    margin-bottom: 1.53rem;
    min-height: 3.84rem;
}

.cui-topbar-livesearch-result-text {
    font-weight: 300;
    font-size: 1.53rem;
    line-height: 1;
}

@media (max-width: 543px) {
    .cui-topbar-livesearch-result-text {
        font-size: 1.23rem;
    }
}

.cui-topbar-livesearch-result-source {
    color: #a7a9ab;
}

.company .cui-layout-header {
    height: 50px;
}

.company .cui-topbar {
    min-height: 50px;
}

@media (max-width: 992px) {
    .cui-utils-content .marketplace-menu {
        margin-right: 0;
    }
}
