
* {

    box-sizing: border-box;
}

ul,
li {
    padding: 0;
    margin: 0;

    list-style-type: none;
}

img {
    height: 100px;
    width: auto;
}

p {
    margin: 0;
}

button {
    outline: none;
    border: none;
    background: none;
    padding: 0;

    cursor: pointer;
}

input[type="text"],
input[type="date"],
textarea,
select {
    padding: 5px 6px;
    height: 30px;

    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.cb-wrap {
    position: relative;

    width: 100%;

    font-size: 16px;
}

.cb-table-head {
    margin-bottom: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.cb-table-head__title {
    display: block;
    width: 100%;
    margin-bottom: 5px;

    font-size: 30px;
    color: #333;
}

.cb-pagination {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0 auto;
}

.cb-table {
    display: table;
    width: 100%;
    margin-bottom: 10px;

    border-collapse: collapse;
}

.cb-table-wrap {
    display: table;
    min-width: 100%;

    overflow-x: auto;
}

.cb-table__row {
    display: table-row;
}

.cb-table-wrap--show .cb-table__row--simple {
    cursor: pointer;
}

.cb-table-wrap--show .cb-table__row--simple:hover .cb-table__cell {
    background-color: #f4f0d1;
 }

.cb-table__row--head {
    font-size: 14px;

    cursor: auto;
}

.cb-table__cell {
    display: table-cell;
    padding: 7px;

    vertical-align: middle;

    border-bottom: 1px solid #dddddd;
}

.cb-table__cell--head {
    color: white;
    font-weight: bold;
    text-transform: uppercase;

    border-bottom: none;
    background-color: #C32929;
}

.cb-table__cell--head:first-child {
    border-top-left-radius: 5px;
}

.cb-table__cell--head:last-child {
    border-top-right-radius: 5px;
}

.cb-pagination__btn {
    padding: 0 2px;

    color: blue;

    outline: none;
    border: none;
    background: none;

    cursor: pointer;
}

.cb-pagination__btn:disabled,
.cb-pagination__btn--dots {
    color: black;

    cursor: default;
}

.cb-pagination__btn:not(.cb-pagination__btn--active, .cb-pagination__btn--dots):hover {
    color: #23527c;
}

.cb-view-line {
    max-width: 500px;
    margin: 0 auto;
}

.cb-view-line__row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 7px;
}

.cb-view-line__key {
    width: 40%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;

    text-align: right;
    font-weight: 700;

    box-sizing: border-box;
}

.cb-view-line__key--edit {
    padding-top: 5px;
}

.cb-view-line__key::after {
    content: ":";
}

.cb-view-line__val {
    width: 60%;
    padding-left: 5px;

    box-sizing: border-box;
}

.cb-view-line__val input[type="text"],
.cb-view-line__val select,
.cb-view-line__val textarea {
    width: 100%;
}

.cb-overlay {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background-color: rgba(0, 0, 0, 0.5);
}

.cb-no-scroll {
    overflow: hidden;
}

.cb-search__submit {
    cursor: pointer;
}

.hidden {
    display: none;
}

.nav-bar {
    position: fixed;
    top: 10px;
    right: 20px;

    display: -webkit-box;

    display: -webkit-flex;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 200px;
}

.nav-bar__btn {
    border: 1px solid #b9b9b9;
    width: 100%;
    margin-bottom: 8px;
    padding: 5px;

    color: #4b4b4b;
    font-weight: bold;
    font-size: 14px;

    border-radius: 4px;
    background-image: -webkit-linear-gradient(bottom, #efefef 30%, white 70%);
    background-image: linear-gradient(to top, #efefef 30%, white 70%);
}

.nav-bar__btn--add {
    width: 200px;
}

.nav-bar__btn:hover {
    color: #399ace;
}

.nav-bar__btn:last-child {
    margin-bottom: 0;
}

.cb-search {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

.cb-search__input {
    margin-right: 10px;
}

.cb-search__submit {
    padding: 5px;

    border-radius: 4px;
    border: 1px solid #ccc;
}

.cb-no-access {
    display: block;
    text-align: center;
    width: 100%;
}

.cb-no-access-btn-wrap {
    width: 250px;
    padding: 10px;
    margin: 0 auto;
}

.autocomplete {
    display: none !important; }

.autocomplete {
    font-size: 13px;
}

input:focus + .autocomplete {
    position: absolute;
    z-index: 3;
    max-height: 300px;
    display: block !important;
    border-left: 1px solid #1e90ff;
    border-right: 1px solid #1e90ff;
    border-bottom: 1px solid #1e90ff;
    background-color: #fff;
    overflow: auto; }
input:focus + .autocomplete li {
    padding: 2px 7px;
    cursor: pointer; }
input:focus + .autocomplete li:last-child {
    border-bottom: none; }
input:focus + .autocomplete li.active, input:focus + .autocomplete li:hover {
    color: #fff;
    background-color: #1e90ff;
}

.autocomplete__input {
    background-image: url("../../../images/select_b.png");
    background-repeat: no-repeat;
    background-position: top 50% right 5px;
}

@media (max-width: 1000px) {
    .nav-bar {
        position: relative;
        margin: 0 auto;
    }
}