

/* форум */

.table-forum th {
    background: #f4f4f4;
    font-size: 14px;
    padding: 3px 10px;
}

.table-forum th,
.table-forum td {
    border: 1px solid #dee2e6;
}

.table-forum .forum-description {
    font-size: 12px;
}

.table-forum .forum-caption {
    font-weight: bold;
}

.table-forum .forum-counter {
    text-align: center;
    font-size: 16px;
}

.table-forum .forum-last {
    text-align: center;
    font-size: 13px;
}

.table-forum .forum-author {
    font-size: 13px;
}

.table-forum .forum-title .fa {
    font-size: 16px;
    color: #21c187;
    opacity: 0.6;
}

.table-forum .forum-post-user {
    text-align: center;
    font-size: 13px;
}

.table-forum .forum-post-user img {
    width: 106px;
    height: 106px;
}

.table-forum .forum-post-user-login {
    font-weight: bold;
    font-size: 16px;
}

.table-forum .forum-post-button {
    margin-top: 20px;
    text-align: right;
}

.table-forum .forum-post-button a {
    padding: 1px 5px;
    font-size: 12px;
}

.table-forum .forum-post-date {
    float: right;
}

.table-forum .forum-post-date a {
    color: #a9a9a9 !important;
    font-size: 12px;
}

.table-forum .forum-post-edit-date {
    text-align: right;
    margin-top: 20px;
    font-size: 12px;
    font-style: italic;
    color: #82878c;
}

.table-forum .forum-text img {
    max-width: 100%;
}

.forum-moder-page .chb-cat {
    margin-top: 10px;
}

.forum-moder-page .chb-cat label {
    font-weight: bold !important;
}

.forum-moder-page .chb-subcat {
    margin-left: 20px;
}

/* файлы */

.table-file td {
    padding: 4px 8px;
}

.table-file td img {
    position: relative;
    top: -1px;
    padding-right: 2px;
}

.table-file td > a {
    text-decoration: none !important;
}

.table-file.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.015);
}

.table-file .file-date {
    text-align: center;
    font-size: 13px;
    padding-top: 7px;
}

.file-page #file-path-address {
    margin-bottom: 5px;
    font-size: 13px;
}

.file-page #file-path-address,
.file-page #file-path-address a {
    color: #7f7f7f;
}

.file-page .file-list {
    min-height: 350px;
}

/* изображения */

.image-item {
    display: inline-block;
    text-align: center;
    font-size: 11px;
    vertical-align: top;
}

.good-image-block .image-item {
    position: relative;
}

.image-item-add {
    display: block;
}

.image-item-add a {
    text-decoration: none !important;
    border-bottom: 1px dashed;
    position: relative;
    top: 4px;
    color: #6f7071 !important;
}

.image-item .img-thumbnail {
    max-height: 250px;
    max-width: 250px;
    display: inline-block;
    margin-bottom: 0 !important;
    border-radius: 0;
    position: relative;
}

.image-item .img-thumbnail img {
    display: block;
    min-width: 100px;
    min-height: 100px;
    max-height: 240px;
    max-width: 240px;
}

.image-item .image-edit {
    position: absolute;
    bottom: -16px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    color: #5a5a5a;
    font-size: 11px;
    text-decoration: underline;
}

.image-item .icon-delete {
    display: block;
    width: 20px;
    height: 20px;
    background: #000;
    opacity: 0.5;
    color: #FFF !important;
    font-size: 22px;
    position: absolute;
    right: 4px;
    top: 4px;
    line-height: 18px;
    padding: 0 0 0px 1px;
    text-align: center;
    text-decoration: none !important;
}

.item-buttons {
    margin-top: 10px;
}

.item-buttons a {
    font-size: 16px;
    margin-right: 15px;
    text-decoration: none !important;
    color: #82878c;
}

.item-buttons .item-like-icon.active {
    color: #21c187 !important;
}

.item-buttons .item-date {
    float: right;
    font-size: 12px;
    color: #82878c;
}

.entity-item .card-img-top {
    height: 200px;
}

.entity-item .card-title a {
    color: #5a5a5a;
    text-decoration: none !important;
}

.entity-item .entity-item-user,
.entity-item-user {
    margin-top: 10px;
}

.entity-item .entity-item-user img,
.entity-item-user img {
    max-width: 35px;
    max-height: 35px;
    border-radius: 50%;
    margin-right: 5px;
}

.entity-item-users {
    margin-top: 20px;
}

.entity-item-users img {
    max-width: 20px;
    max-height: 20px;
    border-radius: 50%;
}

.entity-item .btn-footer {
    padding: 0px 10px 3px 10px;
    font-size: 13px;
    color: #FFF !important;
    margin: 0;
}

.entity-more .entity-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.oauth-block {
    text-align: center;
}

.oauth-block > div {
    margin: 10px 0 5px 0;
    color: #82878c;
}

.oauth-block a {
    display: inline-block;
    text-decoration: none !important;
    background: #ff9d00;
    color: #fff;
    padding: 10px 5px;
    min-width: 50px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 3px;
}

.comment-list {
    margin-top: 30px;
}

.comment-show-all {
    color: #a9a9a9;
    margin-right: 20px;
    font-size: 13px;
}

.comment-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9e9e9;
}

.comment-item:last-child {
    border-bottom: 0 !important;
}

.comment-item .comment-item-image {
    margin-right: 10px;
}

.comment-item .comment-item-image img {
    max-width: 45px;
    max-height: 45px;
    border-radius: 50%;
}

.comment-item .comment-item-date,
.comment-item .comment-item-date a {
    color: #a9a9a9 !important;
    font-size: 12px;
}

.comment-item .comment-item-buttons span {
    padding-right: 10px;
    font-size: 12px;
}

.cat-filter {
    margin-bottom: 20px;
}

.cat-filter .cat-block a {
    display: block;
    margin-bottom: 5px;
    color: #444444 !important;
    font-size: 13px;
}

.cat-filter .cat-block .caption {
    text-transform: uppercase;
    margin-top: 15px;
    font-weight: bold;
}

.user-medal {
    display: inline-block;
    height: 24px;
    margin: 0 0 -5px 8px;
    padding-bottom: 8px;
    background-image: url(../img/medals/medals.png);
    background-repeat: no-repeat;
    background-size: 40px;
}

.user-medal.user-medal-1 {
    min-width: 20px;
    background-position: 0 0;
}

.user-medal.user-medal-2 {
    min-width: 30px;
    background-position: 0 -25px;
}

.user-medal.user-medal-3 {
    min-width: 40px;
    background-position: 0 -50px;
}

.cart-item {
    margin-bottom: 10px;
    margin-top: 20px;
}

.cart-item .card {
    border-radius: 0;
}

.cart-item .card-body {
    background: #fdfdfd;
}

.cart-item hr {
    margin: 0;
}

.order-table {
    width: 100%;
    margin: 0;
    border: 0;
}

.order-table th {
    border: 0 !important;
    background: transparent !important;
    padding-bottom: 5px;
    font-size: 12px;
    color: #82878c;
    font-weight: normal;
}

.log-page .data .title {
    font-size: 12px;
    font-weight: bold;
}

.log-page .data .text {
    font-size: 13px;
    margin-bottom: 10px;
}

.order-item .pay-over {
    font-size: 12px;
}

.poster-list .poster-item {
    margin-bottom: 10px;
}

.poster-list .poster-item-text {
    padding: 5px 10px;
    background: #f9fdf0;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.poster-item {
    position: relative;
}

.poster-item .poster-close {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #5CA226 !important;
    text-decoration: none !important;
}

.poster-item .poster-image {
    max-height: 100px;
    max-width: 100%;
    display: none;
}

.poster-item .poster-image-xs {
    display: block;
}

@media (min-width: 768px) {
    .poster-item .poster-image-sm {
        display: block;
    }
    .poster-item .poster-image-xs {
        display: none;
    }
}

@media (min-width: 1024px) {
    .poster-item .poster-image-md {
        display: block;
    }
    .poster-item .poster-image-sm {
        display: none;
    }
}

@media (min-width: 1360px) {
    .poster-item .poster-image-lg {
        display: block;
    }
    .poster-item .poster-image-md {
        display: none;
    }
}

.carousel-list .carousel-item {
    margin-bottom: 10px;
}

.carousel-list .carousel-item-text {
    padding: 5px 10px;
    background: #f9fdf0;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.carousel-item {
    position: relative;
}

.carousel-item .carousel-image {
    /* Тут прикол, надо подбирать */
    /*max-height: 100px;*/
    /*max-width: 100%;*/
    display: none;
}

.carousel-item .carousel-image-xs {
    display: block;
}

@media (min-width: 768px) {
    .carousel-item .carousel-image-sm {
        display: block;
    }
    .carousel-item .carousel-image-xs {
        display: none;
    }
}

@media (min-width: 1024px) {
    .carousel-item .carousel-image-md {
        display: block;
    }
    .carousel-item .carousel-image-sm {
        display: none;
    }
}

@media (min-width: 1360px) {
    .carousel-item .carousel-image-lg {
        display: block;
    }
    .carousel-item .carousel-image-md {
        display: none;
    }
}

.purse-frame {
    border: 0;
}

.message-unread {
    color: #fdff67;
}

.notification-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9e9e9;
}

.notification-item .notification-item-date,
.notification-item .notification-item-date a {
    color: #a9a9a9 !important;
    font-size: 12px;
}

.notification-item .notification-item-buttons span {
    padding-right: 10px;
    font-size: 12px;
}

.notification-unread {
    color: #fdff67;
}

.supplier-page .inn-field,
.supplier-page .url-field {
    margin-top: 2px;
    margin-bottom: 5px;
}
.supplier-page #city-ids-block input {
    margin-bottom: 10px;
}

.supplier-page .inn-error,
.supplier-page .url-error {
    font-size: 12px;
    color: #cc891a !important;
    padding-left: 10px;
}

.supplier-page .delete-inn-field,
.supplier-page .delete-url-field {
    cursor: pointer;
    opacity: 0.5;
}

.phone-block-confirm .phone-item-add {
    display: none;
}

.phone-block-confirm .phone-item-add-disable {
    pointer-events: none;
    background: #f7f7f7;
}

.phone-block-confirm .phone-item-edit {
    display: none;
}

.phone-block-confirm .phone-item-edit-disable {
    pointer-events: none;
    background: #f7f7f7;
}

.phone-link-block {
    display: inline-block;
    font-size: 13px;
    padding-left: 10px;
    color: #8b8b8b;
}

.phone-link-block a {
    color: #009fda !important;
    text-decoration: none !important;
}

.note-item {
    padding-top: 20px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

.note-item:last-child {
    border-bottom: 0;
}

.note-item .note-item-date {
    color: #a9a9a9;
    font-size: 12px;
    margin-bottom: 10px;
}

.support-page .support-comment-info,
.support-page .support-info {
    font-size: 13px;
}

.support-page .support-info span {
    padding-right: 20px;
}

.support-page .support-comment-info span {
    padding-right: 15px;
}

.support-page .support-comment-item:not(:last-child) {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-bottom: 1px solid rgba(42,42,42,0.1);
}

.support-page .support-file {
    font-size: 13px;
    margin-top: 20px;
}

.cart-page .cart-custom-icon {
    color: #a9a9a9;
    text-decoration: none !important;
    font-size: 18px;
    position: relative;
    top: 3px;
}

.cart-page .order-good-link {
    position: relative;
    z-index: 2;
}

.hide-if-first-child:first-child {
    display: none;
}

.hide-top-border-if-not-first-child:not(:first-child) {
    border-top: 0 !important;
}

.parcel-page .icon-barcode-border {
    width: .9375rem;
    height: .6875rem;
}
.parcel-page .icon-barcode-edit,
.parcel-page .icon-barcode-edit-2,
.parcel-box-page .icon-barcode-edit,
.parcel-box-page .icon-barcode-edit-2,
.table-custom .icon-barcode-edit,
.table-custom .icon-barcode-edit-2 {
    width: 1.375rem;
    height: 1.125rem;
}

tr.sp-parcel-row {
    background-color: white;
}

.sp-parcel-good-variant__header {
    cursor: pointer;
}

.sp-parcel-good-variant__item .sp-icon.icon-chevron-down,
.sp-parcel-good-variant__item.sp-parcel-good-variant__item--collapsed .sp-icon.icon-chevron-up,
.sp-parcel-good-variant__item.sp-parcel-good-variant__item--collapsed .sp-parcel-good-variant__body {
    display: none;
}
.sp-parcel-good-variant__item .sp-icon.icon-chevron-up,
.sp-parcel-good-variant__item.sp-parcel-good-variant__item--collapsed .sp-icon.icon-chevron-down {
    display: block;
}

.sp-parcel-order-img {
    min-height: 50px;
    max-height: 100%;
    display: block;
    margin: auto;
}

.sp-order-item-media-img {
    flex-basis: 4.75rem;
    max-width: 4.75rem;
    height: 4.75rem;
    margin-right: .75rem;
}

.badge-outline {
    color: black;
    border: 1px solid #999;
    background-color: transparent;
}

.badge-outline.badge-success {
    border-color: #468847;
    font-weight: normal;
}

.show-modal-image {
    cursor: pointer;
}

.good-image-block :first-child.image-item {
    border: 2px solid #f79800;
}

.good-image-block .main-image {
    position: absolute;
    top: -17px;
    left: 50%;
    margin-left: -37px;
    color: #f79800;
    font-weight: bold;
    visibility: hidden;
}

.good-image-block :first-child .main-image {
    visibility: visible !important;
}

.resell-image-block .image-item {
    position: relative;
}

.resell-image-block :first-child.image-item {
    border: 2px solid #f79800;
}

.resell-image-block .main-image {
    position: absolute;
    top: -17px;
    left: 50%;
    margin-left: -37px;
    color: #f79800;
    font-weight: bold;
    visibility: hidden;
}

.resell-image-block :first-child .main-image {
    visibility: visible !important;
}

.resell-variant-image-block .image-item {
    position: relative;
}

.resell-variant-image-block .main-image {
    position: absolute;
    top: -17px;
    left: 50%;
    margin-left: -60px;
    color: #f79800;
    font-weight: bold;
    visibility: hidden;
}

.resell-variant-image-block .image-item-selected .main-image {
    visibility: visible !important;
}

/* офисы и посылки */
.office-page .office-menu--informer {
    content: '';
    position: relative;
    display: inline-block;
    bottom: .7rem;
    left: .2rem;
    border-radius: 100%;
    width: .5rem;
    height: .5rem;
    background: #ffd821;
    z-index: 1;
}

.parcel-page .reclaim-order-block {
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: lightgray;
    border-radius: 5px;
}

/* видео */

.video-item {
    display: inline-block;
    text-align: center;
    font-size: 11px;
    vertical-align: top;
}

.good-video-block .video-item {
    position: relative;
}

.video-item-add {
    display: block;
}

.video-item-add a {
    text-decoration: none !important;
    border-bottom: 1px dashed;
    position: relative;
    top: 4px;
    color: #6f7071 !important;
}

.video-item .img-thumbnail {
    max-height: 250px;
    max-width: 250px;
    display: inline-block;
    margin-bottom: 0 !important;
    border-radius: 0;
    position: relative;
}

.video-item .img-thumbnail iframe {
    display: block;
    min-width: 100px;
    min-height: 100px;
    max-height: 240px;
    max-width: 240px;
}

.video-item .video-edit {
    position: absolute;
    bottom: -16px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    color: #5a5a5a;
    font-size: 11px;
    text-decoration: underline;
}

.video-item .icon-delete {
    display: block;
    width: 20px;
    height: 20px;
    background: #000;
    opacity: 0.5;
    color: #FFF !important;
    font-size: 22px;
    position: absolute;
    right: 4px;
    top: 4px;
    line-height: 18px;
    padding: 0 0 0px 1px;
    text-align: center;
    text-decoration: none !important;
}