﻿.descr-list {
    margin: 0 2%;
}

.article-header {
    width: 100%;
}

    .article-header h3 {
        float: left;
        margin: 0 15px;
    }

    .article-header button,
    #descr-editor button {
        height: 2.2em;
        border: none;
        cursor: pointer;
        vertical-align: top;
        background-size: 2.2em auto;
        color: #fff;
        font-weight: bold;
        background-color: #0065A2;
    }

#descr-editor button {
    margin-left: 1px;
}

    .article-header button:hover,
    #descr-editor button:hover {
        background-color: #074A8B;
    }

.article-header .add-file {
    border: 1px solid rgb(0, 101, 162);
    float: right;
}

#descr-editor textarea {
    width: 100%;
    resize: vertical;
    box-sizing: border-box;
    margin: 15px 0;
}

#descr-editor button {
    float: right;
}

.img-list {
    width: 80%;
    margin: 30px auto 50px;
}

    .img-list img {
        height: 150px;
        margin: 0;
    }

    .img-list .img-cont {
        margin: 5px 10px;
        position: relative;
    }

.del-doc {
    position: absolute;
    top: 0;
    right: 0;
    color: #d42a2a;
    background-color: #fff;
    padding: 2px 4px;
    opacity: 0.7;
    cursor: pointer;
}

    .del-doc:hover {
        opacity: 1;
    }

.car-img {
    cursor: pointer;
}

.doc-list {
    float: left;
    box-sizing: border-box;
    margin: 0px 2%;
    width: 96%;
}

.doc-cont {
    width: 23%;
    min-width: 50px;
    float: left;
    position: relative;
    box-sizing: border-box;
    padding: 1%;
    cursor: pointer;
    margin: 1%;
    border: 1px solid #dfecff;
}

    .doc-cont .doc-link {
        float: left;
        width: 100%;
    }

    .doc-cont .del-doc {
        color: #FFF;
        background-color: #5389B5;
    }

    .doc-cont:hover {
        background-color: RGBA(0, 101, 162, 0.08);
    }

    .doc-cont img {
        max-width: 32px;
        max-height: 32px;
        padding: 1%;
        float: left;
    }

    .doc-cont p {
        float: left;
        margin: 10px 0;
        cursor: pointer;
        word-wrap: break-word;
        max-width: 100%;
    }
/*slick plugin overrides*/
.slick-prev::before, .slick-next::before {
    color: #0065A2;
}

.slick-current img {
    box-shadow: 0 0 3px #0065A2;
}

#txt-edit-descr {
    height: 300px;
}

.timeline-tab {
    width: 100%;
    border: none;
    margin: 12px 0;
}

    .timeline-tab tr:nth-child(2n+1) {
        background-color: #EEF2F3;
    }

    .timeline-tab tr:nth-child(2n) {
        background-color: #D7E0E9;
    }

    .timeline-tab th,
    .timeline-tab td {
        border: none;
        padding: 0;
        margin: 0;
    }

    .timeline-tab tr:first-child {
        font: normal 12px PF Square Sans Pro,Verdana;
        color: #fff;
        background-color: #134B65;
    }

    .timeline-tab td:nth-child(1),
    .timeline-tab th:nth-child(1) {
        width: 14%;
        text-align: center;
    }

    .timeline-tab td:nth-child(2),
    .timeline-tab th:nth-child(2) {
        width: 40%;
        text-align: center;
        padding: 4px;
    }

    .timeline-tab td:nth-child(3),
    .timeline-tab th:nth-child(3) {
        width: 35%;
        text-align: center;
        padding: 4px;
    }

    .timeline-tab td:nth-child(4),
    .timeline-tab th:nth-child(4) {
        width: 15%;
        text-align: center;
    }

    .timeline-tab td:nth-child(5),
    .timeline-tab th:nth-child(5) {
        position: relative;
        padding: 4px;
    }

    .timeline-tab td:nth-child(6),
    .timeline-tab th:nth-child(6),
    .timeline-tab td:nth-child(7),
    .timeline-tab th:nth-child(7),
    .timeline-tab td:nth-child(6) input,
    .timeline-tab td:nth-child(7) input {
        width: 25px;
    }

    .timeline-tab textarea {
        box-sizing: border-box;
        width: 100%;
        resize: vertical;
    }

    .timeline-tab input[value='3'] + .level-color {
        background-color: red;
    }

    .timeline-tab input[value='2'] + .level-color {
        background-color: orange;
    }

    .timeline-tab input[value='1'] + .level-color {
        background-color: yellow;
    }

    .timeline-tab input[value='0'] + .level-color {
        background-color: #23b023;
    }

.level-color {
    height: 25px;
    width: 25px;
    margin: 0 auto;
}
