.modal-content {
    text-align: start;
}

.modal-buttons {
    text-align: center;
}

.modal-dialog {
    max-width: fit-content;
}

.recently-watched-emitent {
    margin: 0 5px 5px 0;
    line-height: 1rem;
    max-height: 30px;
}

.recently-watched-emitents {
    margin: 10px 0 10px 0;
    font-size: 1rem;
}

.plus-minus {
    float: right;
}

a.btn.disabled {
    color: var(--gray);
}

.news {
    margin-bottom: 60px;
}

.settings {
    padding: 15px;
}

.header-2 {
    margin-bottom: 20px;
}

.title {
    display: inline;
}

.img-spbexchange {
    width: 20px;
    vertical-align: sub;
}

.spbexchange {
    line-height: 1;
}

.company-actions {
    font-size: 24px;
}

.col-form-checkbox-list {
    text-align: start;
}

.form-group .btn {
    min-width: 150px;
}

.compare-buttons {
    display: inline-block;
}

.emitent-small-logo {
    border-radius: 4px;
    width: 100%;
    background-color: #fff;
}

.description-row {
    margin-bottom: 20px;
}

.emitent-small-logo-container {
    height: 120px;
    width: 120px;
}

.alert-comment {
    max-width: 600px;
}

.btn-group-shares {
    margin: 0 10px 0 10px;
}

.btn-group-toggle .btn:not(:last-child) {
    margin-right: 1px;
    border-right: 1px solid var(--custom-main-gray-dark);
}

.highcharts-point {
    color: #00000070;
}

.btn-group-toggle .btn {
    margin-top: 5px;
    margin-bottom: 5px;
}

.lock-img {
    margin-top: 34px;
}

.panel {
    height: 100%;
    padding: 5px 0 5px 0;
    display: grid;
    min-height: 250px;
}

.pe {
    font-size: 18px;
}

.panel-badge-container {
    height: 75%;
    display: block;
    align-items: center;
}

.earning-container {
    /*min-height: 250px;*/
    /* margin-bottom: 10px; */
    /*align-items: center;*/
    width: 101%;
    display: grid;
    margin-left: auto;
    margin-right: auto;
}

.panel-badge {
    height: 120px;
    width: 120px;
    border-radius: 100%;
    /* margin-top: 30px; */
    /* margin-bottom: 20px; */
}

.brics .highcharts-grid-line {
    display: none;
}


.bric-block {
    display: block;
    font-size: 42px;
    line-height: 115px;
}

.year-price-change {
    /*font-size: small;*/
    text-align: center;
    background-color: unset;
    margin: 8px;
    /*padding: 5px 10px 5px 10px;*/
    /*border-width: 1px;*/
    /*border-style: solid;*/
    /*border-radius: 4px 4px 4px 4px;*/
}

.text-red {
    color: var(--custom-red);
}

.text-green {
    color: var(--custom-green);
}

.kv-grid-bs4 th a:after {
    content: unset;
}

.page-item.active .page-link {
    box-shadow: 0 0 3px 0 #32dadc;
    border-radius: 3px;
}

.pagination {
    justify-content: center;
}

.table th, .table td {
    height: auto;
}

.detail-view td {
    white-space: normal;
    word-break: break-word;
}

.block-header {
    margin-top: 40px;
    margin-bottom: 40px;
}

.modal-body {
    font-size: 1rem;
}

.modal h3 {
    font-size: 1.2rem;
}

.col-md-3, .col-sm-3 {
    padding-right: 7px;
    padding-left: 7px;
}

.brics.row {
    padding-right: 8px;
    padding-left: 8px;
}

/*.widget-header {*/
/*    background-color: #292e39b8;*/
/*}*/

/*.widget-text {*/
/*    background-color: #24283270;*/
/*    border: 1px solid #242832;*/
/*}*/

@media screen and (max-width: 1440px) {
    #operating-results-table .widget-header,
    #reports .widget-header {
        display: grid;
    }
}

@media screen and (max-width: 1200px) {
    .col-sm-3 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .brics .col-md-3 {
        margin: 5px 0 5px 0;
    }
}


@media screen and (max-width: 580px) {
    .widget-header {
        display: grid;
    }

    .btn-group-shares {
        margin: unset;
    }

    .inline-block {
        min-width: unset;
        margin: 10px auto 10px auto;
    }

    .description-row {
        display: contents;
    }

    .description-col {
        text-align: -webkit-center;
        display: block;
    }

    .brics .col-md-3 {
        margin: 5px 0 5px 0;
    }

    .col-sm-3 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}
