.form-control {
    margin-bottom: 5px;
    resize: none;
}

.select2 {
    margin-bottom: 5px;
}

.offers-urls-logs-truncate {
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#date_range,
#date_range_request,
#date_range_created {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

#from-search > .form-group > input:not([type="checkbox"]):not([type="radio"]),
#from-fast-update > .form-group > input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
}

html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}


.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.navbar {
    border-radius: 0 !important;

}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content:
        /*"\e113"*/
        "\e151";
}

a.desc:after {
    content:
        /*"\e114"*/
        "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.badge-danger {
    background-color: #b94a48;
}

.badge-warning {
    background-color: #f0ad4e;
}

.badge-success {
    background-color: #5cb85c;
}

.badge-primary {
    background-color: #007bff;
}

#from-search .form-group input:not([type="checkbox"]):not([type="radio"]),
#from-fast-update .form-group input:not([type="checkbox"]):not([type="radio"]) {
    width: 100% !important;
}

.subs_toggle_btn {
    padding-bottom: 10px;
}

.admin_affiliate .intl-tel-input {
    width: 100%;
    margin-bottom: 10px;
}

.select2-container--krajee .select2-selection--single .select2-selection__clear {
    right: 35px !important;
    position: absolute;
}

.select2-container--krajee .select2-selection--multiple .select2-selection__choice {
    white-space: normal;
    max-width: 85%;
    word-break: break-word;
}

.status-indicator {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
}

.select2-container--krajee .select2-selection--multiple .select2-search--inline .select2-search__field {
    height: 27px !important;
    width: 100% !important;
    padding: 4px 13px !important;
    margin-top: 2px !important;
    margin-bottom: -1px !important;
}

.select2-container .select2-search--inline {
    width: 100%;
}

.filter-subs {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.filter-subs.in {
    display: flex;
}

.filter-subs .form-group {
    margin-right: 4px;
}

.dropdown-submenu > ul {
    list-style: none;
    padding-left: 0;
}

.dropdown-submenu li > a {
    display: block;
    padding: 2px;
    padding-left: 40px;
    padding-right: 20px;
    white-space: nowrap;
}

.dropdown-submenu li > a,
.dropdown-submenu li > a:hover,
.dropdown-submenu li > a:focus {
    text-decoration: none;
    color: unset;
}

.dropdown-submenu li.active > a,
.dropdown-submenu li.active > a:hover,
.dropdown-submenu li.active > a:focus {
    color: #333333;
    background-color: #c6dcef;
    outline: 0;
}

*[hidden] {
    display: none;
}

.icon {
    --size: 1.2em;
    display: inline-block;
    width: var(--size);
    height: var(--size);
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.icon-whatsapp {
    background-image: url('../img/icons/whatsapp.svg');
}

.icon-skype {
    background-image: url('../img/icons/skype.svg');
}

.icon-viber {
    background-image: url('../img/icons/viber.svg');
}

.deeplink-domains-remove {
    position: absolute;
    right: -25px;
    top: 10px;
    cursor: pointer;
    display: none;
}

.deeplink-domains-row {
    position: relative;
}

.deeplink-domains-list.delete-allowed .deeplink-domains-remove {
    display: block;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
    color: #ccc;
    cursor: not-allowed;
}

.toogleDateCheckbox {
    vertical-align: middle;
}

.offer-promotion-material-form .file-footer-buttons {
    width: 100%;
    text-align: center;
}

.tooltip-inner {
    max-width: 320px;
    overflow-wrap: break-word;
}


.minus-words-links-remove {
    position: absolute;
    right: -25px;
    top: 10px;
    cursor: pointer;
    display: none;
}

.minus-words-links-row {
    position: relative;
}

.minus-words-links-list.delete-allowed .minus-words-links-remove {
    display: block;
}

table[data-float-header] {
    border-collapse: separate;
    border-spacing: 0;
}

table[data-float-header] thead {
    background-color: #fff;
    position: relative;
    z-index: 999;
    will-change: transform;
}

table[data-float-header] thead tr th,
table[data-float-header] thead tr td,
table[data-float-header] tbody tr th,
table[data-float-header] tbody tr td,
table[data-float-header] tfoot tr th,
table[data-float-header] tfoot tr td {
    border-top: none;
    border-bottom: 1px solid #ddd;
    border-left: none;
    border-right: 1px solid #ddd;
}

table[data-float-header] thead tr th:last-child,
table[data-float-header] thead tr td:last-child,
table[data-float-header] tbody tr th:last-child,
table[data-float-header] tbody tr td:last-child,
table[data-float-header] tfoot tr th:last-child,
table[data-float-header] tfoot tr td:last-child {
    border-right: none;
}

/*xs*/
@media (max-width: 767px) {

    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: normal;
    }

    .dropdown-submenu li > a {
        color: #9d9d9d;
    }
}

/*sm*/
@media (min-width: 768px) and (max-width: 991px) {}

/*md*/
@media (min-width: 992px) and (max-width: 1199px) {}

/*sm + md*/
@media (min-width: 768px) and (max-width: 1199px) {

    #from-search,
    #from-fast-update > .form-group,
    #sub_ids > .form-group,
    #from-fast-update > .form-group {
        width: 170px;
    }

    .form-inline .form-group {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .filter-subs .form-group {
        width: 100%;
        margin-right: 0;
    }
}


/*lg*/
@media (min-width: 1200px) {

    #from-search > .form-group,
    #sub_ids > .form-group,
    #from-fast-update > .form-group {
        width: 240px;
    }
}