#promo-codes #edit_promo_code_popup .modal-dialog {
    width: 750px;
}

#promo-codes #promo_code_history_popup .modal-dialog {
    width: 900px;
}

#promo-codes #bonus_history_popup .modal-dialog {
    width: 800px;
}

#promo-codes .custom-check {
    display: inline-block;
    margin-right: 20px;
}

#promo-codes #edit_promo_code_popup .dropdown-menu {
    max-height: 160px;
    overflow-y: auto;
}
#promo-codes #edit_promo_code_popup .dropdown-menu ul{
    max-height: 140px;
}

.promo-code-type-block {
    display: inline-block;
    margin-right: 10px;
}

.promo-code-attr {
    display: inline-block;
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

.promo-code-type {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: no-repeat center;
    background-size: contain;
}

.promo-code-usage {
    font-size: 12px;
    font-weight: bold;
    color: #83a0ba;
    vertical-align: super;
}

.promo-code-from-site {
    background: url(../img/pic_internet.png) no-repeat;
}

.promo-code-from-mobile {
    background: url(../img/pic_mobile_app.png) no-repeat;
}

.promo-code-common {
    background-image: url(../img/common.png);
}

.promo-code-personal {
    background-image: url(../img/personal.png);
}

.promo-code-referal {
    background-image: url(../img/referal.png);
}

#promo-codes .main-table-wrapper .table-body-wrapper table.table-body tr td {
    padding: 5px 7px;
    vertical-align: middle;
}
#promo-codes .main-table-wrapper .table-body-wrapper table.table-result tr td,
#promo-codes .main-table-wrapper table.table-header tr td {
    padding: 10px 7px;
    vertical-align: middle;
}

#promo-codes .main-table-wrapper.promo-codes-history .table-body-wrapper table.table-body tr td,
#promo-codes .main-table-wrapper.bonus-history-bus .table-body-wrapper table.table-body tr td,
#promo-codes .main-table-wrapper.bonus-history .table-body-wrapper table.table-body tr td,
#promo-codes .main-table-wrapper.bonus-correction .table-body-wrapper table.table-body tr td {
    padding: 7px;
}

#promo-codes .main-table-wrapper .table-body-wrapper table.table-body tr:nth-child(even) {
    background-color: #e1ecfb;
}

#promo-codes .promo-codes .table-body-wrapper {
    max-height: 800px;
}

#promo-codes .main-table-wrapper.promo-codes table td:nth-child(1) {
    width: 7%;
}
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(2) {
    width: 5%;
    text-align: center;
}
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(3) {
    width: 7%;
}
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(4) {
    width: 10%;
}
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(5) {
    width: 18%;
}
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(6) {
    width: 5%;
    text-align: center;
}
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(7) {
    width: 18%;
}
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(8) {
    width: 5%;
}
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(9) {
    width: 18%;
}
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(10),
#promo-codes .main-table-wrapper.promo-codes table td:nth-child(11) {
    width: 3%;
    text-align: center;
}

#promo-codes .promo-codes-history .table-body-wrapper {
    max-height: 800px;
}

#promo-codes .main-table-wrapper.promo-codes-history table td:nth-child(1) {
    width: 10%;
}
#promo-codes .main-table-wrapper.promo-codes-history table td:nth-child(2) {
    width: 7%;
}
#promo-codes .main-table-wrapper.promo-codes-history table td:nth-child(3) {
    width: 5%;
    text-align: center;
}
#promo-codes .main-table-wrapper.promo-codes-history table td:nth-child(4) {
    width: 8%; /* Кампания - reduced width */
}
#promo-codes .main-table-wrapper.promo-codes-history table td:nth-child(5) {
    width: 15%; /* Создан */
}
#promo-codes .main-table-wrapper.promo-codes-history table td:nth-child(6) {
    width: 7%;
    text-align: center;
}
#promo-codes .main-table-wrapper.promo-codes-history table td:nth-child(7) {
    width: 15%;
}
#promo-codes .main-table-wrapper.promo-codes-history table td:nth-child(8) {
    width: 7%;
    text-align: center;
}
#promo-codes .main-table-wrapper.promo-codes-history table td:nth-child(9) {
    width: 11%;
}

#promo-codes .main-table-wrapper.promo-code-history table td:nth-child(1) {
    width: 20%;
}
#promo-codes .main-table-wrapper.promo-code-history table td:nth-child(2) {
    width: 10%;
    text-align: center;
}
#promo-codes .main-table-wrapper.promo-code-history table td:nth-child(3) {
    width: 30%;
}
#promo-codes .main-table-wrapper.promo-code-history table td:nth-child(4) {
    width: 40%;
}

#promo-codes .main-table-wrapper.promo-campaigns table td:nth-child(1) {
    width: 30%;
}
#promo-codes .main-table-wrapper.promo-campaigns table td:nth-child(2) {
    width: 50%;
}
#promo-codes .main-table-wrapper.promo-campaigns table td:nth-child(3),
#promo-codes .main-table-wrapper.promo-campaigns table td:nth-child(4) {
    width: 10%;
    text-align: center;
}

#promo-codes .main-table-wrapper.bonus-correction table td:nth-child(1) {
    width: 10%;
}
#promo-codes .main-table-wrapper.bonus-correction table td:nth-child(2) {
    width: 12%;
}
#promo-codes .main-table-wrapper.bonus-correction table td:nth-child(3) {
    width: 18%;
}
#promo-codes .main-table-wrapper.bonus-correction table td:nth-child(4) {
    width: 10%;
    text-align: center;
}

#promo-codes .nav-tabs {
    border: none; }
#promo-codes .nav-tabs li a {
    background-color: #a1b9ce;
    color: #fff;
    font-size: 14px;
    padding: 10px 31px;
    border: none; }
#promo-codes .nav-tabs li.active a,
#promo-codes .nav-tabs li:hover a {
    background-color: #446a8e;
    color: #fff; }
#promo-codes .nav-tabs li:last-child a {
    margin: 0; }
#promo-codes .nav-tabs > li.active > a,
#promo-codes .nav-tabs > li.active > a:hover,
#promo-codes .nav-tabs > li.active > a:focus {
    border: none; }
#promo-codes .filter-wrap {
    padding: 15px 10px;
    background-color: #f6fcff;
    border: 2px solid #b6cbdc;
    border-radius: 0 0 2px 2px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px -2px rgba(0, 0, 0, 0.2);
}
#promo-codes .filter-wrap a.filter-but {
    display: none;
    color: #446a8e;
    font-size: 12px; }
#promo-codes .filter-wrap a.filter-but span {
    font-size: 14px;
    color: #446a8e;
    border-bottom: 1px dotted #446a8e; }
#promo-codes .filter-wrap a.filter-but.active {
    display: block; }
#promo-codes .filter-wrap a.filter-but:hover span {
    border: none; }
#promo-codes .filter-wrap .alt-check input[type="checkbox"]:checked + label:before {
    background-position: 0 -16px; }
#promo-codes .filter-wrap .alt-check input[type="checkbox"]:disabled + label:before {
    opacity: 0.5;
    cursor: default; }

#promo-codes form {
    display: none;
    margin-top: 10px;
    font-size: 14px;
}

#promo-codes .date-select-block {
    display: inline-block;
    margin-right: 10px;
}
#promo-codes .date-select-block input[type="text"] {
    width: 110px;
    display: inline-block;
}
#promo-codes #promoCodeFilterCode {
    width: 130px;
    display: inline-block;
}

#promo-codes .bootstrap-select .dropdown-menu {
    max-height: 240px;
    overflow: hidden !important;
    overflow-y: auto !important; }
#promo-codes .bootstrap-select .dropdown-menu ul.selectpicker {
    max-height: 190px;
}

#promo-codes .main-table-wrapper.bonus-history table td:nth-child(1) {
    width: 40%;
}
#promo-codes .main-table-wrapper.bonus-history table td:nth-child(2),
#promo-codes .main-table-wrapper.bonus-history table td:nth-child(3),
#promo-codes .main-table-wrapper.bonus-history table td:nth-child(4) {
    width: 20%;
    text-align: center;
}
#promo-codes .main-table-wrapper.bonus-history-bus {
    margin-top: 10px;
}
#promo-codes .main-table-wrapper.bonus-history-bus table.table-title {
    text-align: center;
}

#promo-codes .main-table-wrapper.bonus-history-bus table td:nth-child(1) {
    width: 10%;
}
#promo-codes .main-table-wrapper.bonus-history-bus table td:nth-child(2) {
    width: 30%;
}
#promo-codes .main-table-wrapper.bonus-history-bus table td:nth-child(3),
#promo-codes .main-table-wrapper.bonus-history-bus table td:nth-child(4),
#promo-codes .main-table-wrapper.bonus-history-bus table td:nth-child(5) {
    width: 20%;
    text-align: center;
}

#promo-codes .main-table-wrapper.bonus-history-user table td:nth-child(1) {
    width: 20%;
}
#promo-codes .main-table-wrapper.bonus-history-user table td:nth-child(2) {
    width: 70%;
}
#promo-codes .main-table-wrapper.bonus-history-user table td:nth-child(3) {
    width: 10%;
    text-align: center;
}

#promo-codes .main-table-wrapper table.table-result tr td {
    text-align: center;
    font-weight: 500;
    color: #86a2bc;
    background-color: #e1ecfb;
}

#promo-codes .main-table-wrapper table.table-result tr td:nth-child(1) {
    text-align: right;
}
