.ui-jqgrid .ui-jqgrid-bdiv,
.ui-jqgrid .ui-jqgrid-pager,
.ui-jqgrid .ui-jqgrid-toppager,
.ui-jqgrid .ui-jqgrid-htable,
.ui-jqgrid .ui-jqgrid-hdiv,
.ui-jqgrid .ui-jqgrid-view,
.ui-jqgrid .ui-jqgrid-btable,
.ui-jqgrid {
    width: 100% !important;
}

.ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr,
.ui-jqgrid tr.jqgfirstrow td {
    width: auto !important;
    vertical-align: top;
}

.ui-jqgrid .ui-jqgrid-hbox {
    padding-right: 0 !important;
}


#gview_redirects .ui-jqgrid-labels > th:nth-child(1),
#gview_redirects .ui-jqgrid-labels > th:nth-child(2),
#gview_redirects .jqgfirstrow > td:nth-child(1),
#gview_redirects .jqgfirstrow > td:nth-child(2),
#gview_redirects .subgrid-data .ui-jqgrid-labels > th:nth-child(1),
#gview_redirects .subgrid-data .jqgfirstrow > td:nth-child(1)
{
    width: 30px !important;
}

#gview_redirects .ui-jqgrid-labels > th:nth-child(6),
#gview_redirects .jqgfirstrow > td:nth-child(6),
#gview_redirects .subgrid-data .ui-jqgrid-labels > th:nth-child(5),
#gview_redirects .subgrid-data .jqgfirstrow > td:nth-child(5),
#gview_redirects .subgrid-data .ui-jqgrid-labels > th:nth-child(6),
#gview_redirects .subgrid-data .jqgfirstrow > td:nth-child(6)
{
    width: 100px !important;
}

#gview_redirects .subgrid-data .ui-jqgrid-labels > th:nth-child(2),
#gview_redirects .subgrid-data .jqgfirstrow > td:nth-child(2) {
    width: 150px !important;
}

.subgrid-data {
    padding-bottom: 30px !important;
    border: 0;
}


.ui-jqgrid .ui-jqgrid-pager,
.ui-jqgrid .ui-jqgrid-toppager {
    height: auto !important;
    padding: 5px !important;
    background: none;
}

.ui-jqgrid tr.ui-row-ltr td,
.ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr {
    padding: 5px !important;
    text-wrap: balance;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: #E9ECEF !important;
}

.ui-jqdialog .ui-jqdialog-titlebar {
    border: none !important;
}

.br-header-right .dropdown:last-child .dropdown-menu {
    margin-top: -6px;
}

intput[type="submit"]:hover,
button:hover {
    cursor: pointer;
}

input[type="text"], input[type="password"], .ui-autocomplete-input, textarea, .uneditable-input  {
    color: #333;
    padding: .65rem .75rem;
    font-size: .95rem;
}

.ui-jqdialog {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 auto !important;
    padding: 20px;
    overflow-y: auto !important;
    top: 50% !important;
    transform: translateY(-50%);
    max-width: 80% !important;
    max-height: 80% !important;
    width: 1000px !important;
    position: fixed;
}

.EditTable td textarea,
.EditTable td input[type="text"],
.EditTable td input[type="password"],
.EditTable td select {
    display: block;
    width: 100%;
    font-size: 0.85rem;
    padding: 0.85rem;
}

.EditTable td select {
    border: 1px solid #ccc;
    background: #fff;
}

.EditTable hr {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #e9ecef;
}

.ui-jqdialog-content .CaptionTD {
    vertical-align: middle;
    padding-top: 25px;
    font-weight: bold;
}

.ui-widget-content {
    background-image: none;
}

.ui-jqgrid .ui-jqgrid-view,
.ui-jqdialog,
.fm-button {
    font-size: .85rem;
}

.ui-jqdialog-content input.FormElement,
.fm-button {
    padding: 0.85rem;
}


.fm-button .ui-icon-disk,
.fm-button .ui-icon-close {
    display: none;
}

.countries-list label {
    width: 20%;
}

.ui-jqgrid .ui-pg-button:hover {
    padding: 1px;
    color: #00b297;
}

.ui-widget-content {
    background: #fff;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: none;
}

.ui-state-highlight td {
    background: #eeeeee;
}

.ui-jqgrid .ui-jqgrid-view, .ui-jqdialog, .fm-button {
    font-size: .95rem;
}

.ui-jqgrid .ui-subgrid td.subgrid-data {
    padding-top: 20px;
    padding-right: 30px;
}

.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {
    text-align: left;
}