h1, h2, h3, h4, h5, h6 {
    color: black;
}

h3 {
    font-size: 20px;
}

p, ol, ul {
    margin: 0 0 10px;
}

ol ul, ol ol, ul ul, ul ol {
    margin-left: 16px;
}

table th, table tr {
    color: black;
}

table.prod-summary th:hover,
table.prod-summary tr:hover {
    background-color: #4496AB;
    color: white;
    font-weight: bold;
}

.post-list .id-column {
    width: 50px;
    max-width: 80px;
}

.post-list .date-column {
    width: 120px;
}

.post-list .status-column {
    width: 150px;
    text-align: center;
}

.post-list .auto-send-column {
    width: 100px;
    text-align: center;
}

.post-list .buttons-column {
    width: 150px;
}

.post-list .btn {
    display: none;
    margin-bottom: 5px;
}

.post-list tr:hover .btn {
    display: block;
}

.smm-post-status {
    padding: 1px 8px;
    white-space: nowrap;
    font: 11px/14px Arial;
    border-radius: 3px;
}

.smm-post-status.smm-post-status-draft {
    background: dimgrey;
    color: #ffffff;
}

.smm-post-status.smm-post-status-new {
    background: grey;
    color: #ffffff;
}

.smm-post-status.smm-post-status-on-agreement {
    background: darkorange;
    color: #ffffff;
}

.smm-post-status.smm-post-status-rejected {
    background: #CC3333;
    color: #ffffff;
}

.smm-post-status.smm-post-status-agreed {
    background: cornflowerblue;
    color: #ffffff;
}

.smm-post-status.smm-post-status-published {
    background: green;
    color: #ffffff;
}

.unread-comments {
    display: inline-block;
    margin: 3px 0;
    background-color: #4496AB;
    color: #fff;
    font-weight: 600;
    border-radius: 50%;
    padding: 1px 7px;
}

.move-icon {
    cursor: pointer;
}

.move-thumbnail {
    position: relative;
    width: 50px;
    height: 50px;
    background-size: 100%!important;
}

.move-thumbnail span {
    position: absolute;
    left: 12px;
    top: 15px;
    display: inline;
    margin: 0;
    background-color: #4496AB;
    color: #fff;
    font-weight: 600;
    border-radius: 50%;
    padding: 1px 7px;
}

.move-thumbnail span.circle{
    display: inline-block;
    margin: 3px 0;
    background-color: #808080;
    color: #fff;
    font-weight: 600;
    border-radius: 50%;
    padding: 1px 7px;
}
table tr.has-expired-payments td:first-child {
    background-color: lavenderblush;
}

table tr.payments-close-to-expire td:first-child {
    background-color: #FFE7B7;
}

table tr.payments-close-to-expect td:first-child {
    background-color: #AFF97E;
}

/*   Production List   */
.prod-list .prod-row .title {
    font-size: 19px;
}
.prod-list .prod-row .title small {
    font-size: 14px;
}
.prod-list .prod-row .list ul li::marker {
    content: '';
}
.prod-list .priority {
    height: auto;
}

h2.panel-title {
    font-size: 26px;
}
.panel-heading h4 {
    color: #999;
    margin: 0;
}

.application-info {
    margin: 0 0 20px 0;
}
.application-info h3 {
    font-size: 20px;
}
.application-info p {
    font-size: 16px;
    word-wrap: break-word;
}
.msg-list .media-body p {
    word-wrap: break-word;
    max-width: 1200px;
}
.msg-list > li .media-body p a {
    color: #4496AB;
    text-decoration: underline;
}
.application-info p:nth-child(2) {
    padding-top: 15px;
}

.pageheader h1 {
    margin: -2px 0 0 0;
    font-size: 26px;
    font-weight: 500;
    color: #2f363d;
    line-height: normal;
}
.pageheader h1 .fa-repeat,
.prod-row .title .fa-repeat {
    color: #449d44;
    font-size: 20px;
}

.btn-warning {
    background-color: #F36E16;
    border-color: #eea236;
}

.btn-info {
    background-color: #4496AB;
    border-color: #46b8da;
}

@media screen and (max-width: 320px) {
    .pageheader h1 {
        font-size: 20px;
    }
}

@media screen and (max-width: 360px) {
    .pageheader h1 {
        font-size: 24px;
    }
}

/**
 * Пришлось явно задать цвета, ибо цвета почему то переопределялись если находились внутри .panel-default
 */
.panel > .panel-heading .badge.badge-success {
    background-color: #4496AB;
}
.panel > .panel-heading .badge.badge-success.green {
    background-color: #019a1e;
}

.panel > .panel-heading .badge.badge-warning {
    background-color: #F36E16;
}

.panel > .panel-heading .badge.badge-danger {
    background-color: #D9534F;
}

.panel > .panel-heading .badge.badge-default {
    background-color: #777777;
}

.contentpanel {
    padding: 0;
}

.mainpanel {
    background: #f9f9f1;
}

.pageheader .informer .btn {
    border-radius: 20px;
    color: white;
    background: #4496AB;
}
.pageheader .informer .badge {
    background: #F36E16;
}

.kv-table-header {
    background: #fff;
}

.btn-xs {
    height: 29px;
    padding-top: 3px;
}

.pageheader .sidebar .panel-heading {
    padding: 10px;
}
.mainpanel .pageheader h4 {
    font-size: 22px;
}
.mainpanel .contentpanel {
    padding: 0;
}
.msg-list li.media,
.msg-list li.media .media-body,
.mainpanel .pageheader .comments h4 {
    padding: 5px;
    margin: 5px;
}
.mainpanel .pageheader .panel-default {
    margin: 0;
}
.mainpanel .sidebar .panel-default {
    margin: 0 0 15px 0;
    overflow: hidden;
}

.mainpanel .pageheader .panel-heading,
.mainpanel .pageheader .panel-footer {
    background: #f9f9f1;
}
.panel-heading h5 {
    padding: 9px 0 9px 10px;
}