#wrapper {
    min-width: 1200px;
}

.form-control {
    height: 31px;
    min-height: 31px;
    padding: 0px 6px 0px !important;
    margin-top: 3px;
    margin-bottom: 3px;
}

#search .container {
    max-width: 1440px;
}

#content {
    width: 100%;
    max-width: 1260px;
    padding: 20px 25px;
}

#login {
    width: 100%;
    max-width: 1440px;
    padding: 20px 25px;
}

#sidebar {
    width: 100%;
    max-width: calc(100% - 1260px);
    padding: 20px 15px;
}

.pagination li a.first,
.pagination li a.last,
.pagination li a.prev,
.pagination li a.next {
    padding: 1px 4px 2px;
    color: #afafaf;
}

.wrap-search-list-table table {
    width: 1210px;
}

.search-list-table th,
.search-list-table td {
    border-width: 1px !important;
    border-color: #aaa;
    font-size: 13px;
    font-weight: normal;
    text-align: center;
    padding: 7px 6px 6px;
}

.search-list-table th {
    background: #ccc;
    padding: 4px;
}

.horizontal_scroll {
    margin-top: -1px;
}

.search-list-table th:nth-child(1),
.search-list-table td:nth-child(1) {
    width: 100px;
}

.search-list-table th:nth-child(2),
.search-list-table td:nth-child(2) {
    width: 200px;
}

.search-list-table th:nth-child(3),
.search-list-table td:nth-child(3) {
    width: 100px;
}

.search-list-table th:nth-child(4),
.search-list-table td:nth-child(4) {
    width: 100px;
}

.search-list-table th:nth-child(5),
.search-list-table td:nth-child(5) {
    width: 100px;
}

.search-list-table th:nth-child(6),
.search-list-table td:nth-child(6) {
    width: 200px;
}

.search-list-table th:nth-child(7),
.search-list-table td:nth-child(7) {
    width: 160px;
}

.search-list-table th:nth-child(8),
.search-list-table td:nth-child(8) {
    width: 160px;
}

h6 .small {
    font-size: 87.5%;
}

.search-list-table .btn-edit {
    font-size: 12px;
}

.search-list-table .btn-edit:hover {
    background: #666;
    color: #fff;
}


#search .breadcrumb {
    padding-bottom: 0;
    margin-bottom: 10px;
}

.search-controls-container {
    padding: 22px 20px;
    background: #f8f8f8;
    border-radius: 6px;
}

.controls-container .left-container {
    width: 49%;
    padding-right: 25px;
    border-right: solid 2px #eeeeee;
}

.controls-container .right-container {
    width: 51%;
    padding-left: 25px;
}

.search-group-input {
    margin: 0 0 13px;
}

.search-group-input:last-child {
    margin-bottom: 0;
}

.search-group-input h5 {
    font-size: 16px;
    font-weight: bold;
    color: #313131;
    padding-left: 10px;
    position: relative;
    margin-bottom: 6px;
}

.search-group-input h5:before {
    content: "";
    width: 3px;
    height: 16px;
    background: #d8d8d8;
    position: absolute;
    left: 0;
    top: 1px;
}

.search-group-input .single-input {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 2px;
}

.search-group-input .single-input:last-child {
    margin-bottom: 0;
}

.search-group-input .single-input>dt {
    width: 160px;
    padding: 9px 15px 0;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
}

.search-group-input .single-input>dd {
    width: calc(100% - 160px);
}

.submit-container {
    padding: 40px 0 0px;
}

.submit-container dl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.submit-container dl dt {
    margin-right: 25px;
}

.submit-container dl dt a {
    color: #2a80b9;
    font-size: 13px;
    font-weight: 400;
}

.submit-container dl dd {}

.submit-container dl dd button {
    border: solid 1px #E9AF00;
    font-size: 13px;
}

.form-check {
    margin-bottom: 3px;
    padding-left: 0;
    line-height: 1.6em !important;
}

input[type="radio"].form-check-input.small+label {
    padding-left: 20px;
}

input[type="radio"].form-check-input.small+label:before {
    width: 16px;
    height: 16px;
    background: #fff;
    border: solid 2px #ccc;
    top: 7px;
    transition: all 0.2s;
}

input[type="radio"].form-check-input.small:checked+label:before {
    border: solid 4px #fbbd00;
}

input[type="radio"].form-check-input.small+label:after {
    display: none;
}

input[type="checkbox"].form-check-input.small+label {
    padding-left: 25px;
}

input[type="checkbox"].form-check-input.small+label:before {
    width: 16px;
    height: 16px;
    top: 7px;
    transition: all 0.2s;
    border-width: 2px;
}

input[type="checkbox"].form-check-input.small+label:after {
    left: 3px;
    top: 10px;
    border-color: #fff;
    opacity: 1 !important;
    width: 10px;
    height: 6px;
}

input[type="checkbox"].form-check-input.small:checked+label:before {
    background: #fbbd00;
    border-color: #fbbd00;
}

select.year-ip {
    width: 80px;
    padding-left: 7px;
    padding-right: 5px;
}

select.year-ip+span {
    margin: 5px;
}

select.month-ip {
    width: 80px;
    padding-left: 7px;
    padding-right: 5px;
}

.for-checkbox {
    padding-left: 15px;
    margin-bottom: 6px;
}

.font-13 {
    font-size: 13px;
}

.size-70 {
    width: 70px;
}

.input-number {
    width: 52px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: right;
}

.form-control.size-290,
.size-290 {
    width: 290px;
    display: inline-block;
    flex: unset;
}

input.year-ip {
    width: 70px;
}

input.month-ip {
    width: 43px;
}

.form-control.size-140 {
    width: 140px;
}

.input-group>.form-control {
    flex: unset;
}

.form-check.no-label {
    display: flex;
    justify-content: center;
}

.form-check.no-label .form-check-label {
    padding-left: 11px !important;
}

#refine-details .modal-body {
    padding: 20px 55px;
    max-height: calc(100vh - 220px);
    overflow: auto;
    margin: 10px 0;
}

table.check-items th,
table.check-items td {
    border: solid 1px #c5c5c5;
    padding: 1px 10px;
    font-size: 13px;
}

table.check-items th {
    font-weight: bold;
    background: #fff;
}

table.check-items tr:nth-of-type(odd) {
    background: #f6f6f6;
}

table.check-items tr:first-child {
    background: none;
}

table.check-items tr:first-child th {
    border: none;
    font-weight: normal;
    text-align: center;
    padding: 5px;
    font-size: 12px;
}

.group-ttl {
    width: 148px;
}

.row-ttl {
    width: 168px;
}

.row-input {
    width: 78px;
}

table.check-items .has-sub td:first-of-type {
    position: relative;
    z-index: 1;
    padding-left: 65px;
}

table.check-items .has-sub td:first-of-type:before {
    content: "";
    width: 60px;
    height: calc(100% + 1px);
    background: #fff;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: -1;
}

table.check-items .has-sub.sub-ttl {
    background: #fff;
}

table.check-items .has-sub.sub-ttl td:first-of-type {
    padding-left: 10px;
}

table.check-items .has-sub.sub-ttl+.has-sub,
table.check-items .has-sub.sub-ttl+.has-sub+.has-sub+.has-sub {
    background: #f6f6f6;
}

table.check-items .has-sub.sub-ttl+.has-sub+.has-sub,
table.check-items .has-sub.sub-ttl+.has-sub+.has-sub+.has-sub+.has-sub {
    background: #fff;
}

table.check-items .has-sub.sub-ttl+.has-sub+.has-sub+.has-sub+.has-sub td:first-of-type:before {
    height: 100%;
}

.group-input-controls .content {
    width: 290px;
    margin-right: 5px;
    position: relative;
}

.group-input-controls .button {
    width: 80px;
}

.group-input-controls .button .btn-edit {
    width: 80px;
    text-align: center;
}

textarea.form-control {
    height: 31px;
    resize: none;
    padding-top: 4px !important;
}

.form-check .form-check-label:before {
    top: 3px;
}

.form-check input[type="checkbox"]+.form-check-label:after {
    top: 9px;
}

.form-check input[type="checkbox"].checkbox-circle+label:before {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    top: 3px;
}

.form-check input[type="checkbox"].checkbox-circle+label:after {
    content: "";
    width: 12px;
    height: 12px;
    background: #fbbd00;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 6px;
    opacity: 0;
    transition: all 0.1s;
}

.dropdown-select-items {
    position: absolute;
    z-index: 1;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border: solid 1px #ffffff;
    border-radius: 4px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.2s;
    opacity: 0;
    visibility: hidden;
}

.dropdown-select-items.open {
    opacity: 1;
    visibility: visible;
}

.form-check .form-check-label.no-icon {
    padding-left: 0;
}

.form-check .form-check-label.no-icon:before,
.form-check .form-check-label.no-icon:after {
    display: none;
}

.dropdown-select-items ul {
    max-height: 170px;
    min-height: 70px;
    overflow: auto;
}

.dropdown-select-items ul li {
    border-bottom: solid 1px #ced4da;
    margin: 0;
}

.dropdown-select-items ul li:last-child {
    border-bottom: none;
}

.dropdown-select-items ul li label {
    display: block;
    padding: 6px 10px !important;
    transition: all 0.2s;
}

.dropdown-select-items ul li label:hover {
    background: #e5efff;
}

.dropdown-select-items ul li input[type="radio"]:checked+label {
    background: #4c9aea;
    color: #fff;
}

.dropdown-select-items ul li label:not(.no-icon) {
    padding-left: 30px !important;
}

.dropdown-select-items ul li input[type="checkbox"].form-check-input.small+label:not(.no-icon):before {
    top: 9px;
    left: 7px;
}

.dropdown-select-items ul li input[type="checkbox"].form-check-input.small+label:not(.no-icon):after {
    left: 10px;
    top: 12px;
}

.dropdown-select-items .control {
    display: flex;
    justify-content: center;
    padding: 10px;
    background: #f8f8f8;
    margin-top: 5px;
}

.dropdown-select-items .control dd {
    margin: 3px;
}

.dropdown-select-items .control dd .btn-edit {
    width: 110px;
    text-align: center;
}

.dropdown-select-items .control dd .select-cancel {
    color: #333;
}

.dropdown-select-items .control dd .select-cancel:hover {
    background: #333;
    color: #fff;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar:hover {
    background: #333;
}

.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
    background: #333;
}

.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
    background: #333;
}

.group-input-controls .content .render {
    position: relative;
}

.review-selected-items {
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    padding: 2px 7px;
    pointer-events: none;
    display: none;
    background: #fff;
    border-radius: .25rem;
    transition: all 0.2s;
}

.review-selected-items li {
    display: inline-block;
    padding: 2px 25px 2px 15px;
    font-size: 13px;
    color: #fff;
    border-radius: 3em;
    background: #aaaaaa;
    line-height: 1.2;
    position: relative;
    pointer-events: auto;
    margin-top: 3px;
    margin-bottom: 3px;
    user-select: none;
}

.review-selected-items li:not(:last-child) {
    margin-right: 5px;
}

.review-selected-items li .delete {
    display: inline-flex;
    width: 13px;
    height: 13px;
    font-size: 10px;
    color: #fff;
    justify-content: center;
    align-items: center;
    line-height: 1;
    border-radius: 50%;
    position: absolute;
    right: 5px;
    top: calc(50% - 7px);
    cursor: pointer;
    transition: all 0.2s;
    padding-bottom: 1px;
}

.review-selected-items li .delete:hover {
    background: #666;
}

[review-modal="modal-hope-to-serve"] {
    display: block;
}

@media (max-width: 1500px) {
    #content {
        max-width: 1050px;
    }

    #sidebar {
        max-width: calc(100% - 1050px)
    }

    #search .container {
        max-width: calc(100% - 30px) !important;
    }

    .btn-edit {
        font-size: 12px;
    }

    .dropdown-select-items .control dd .btn-edit {
        width: 80px;
        padding-left: 0px;
        padding-right: 0;
    }

    .group-input-controls .content {
        width: 210px;
    }

    .group-input-controls .button {
        width: 60px;
    }

    .group-input-controls .button .btn-edit {
        width: 60px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .wrap-search-list-table table {
        width: 1000px;
    }

    .search-list-table th:nth-child(1),
    .search-list-table td:nth-child(1) {
        width: 70px;
    }

    .search-list-table th:nth-child(2),
    .search-list-table td:nth-child(2) {
        width: 150px;
    }

    .search-list-table th:nth-child(3),
    .search-list-table td:nth-child(3) {
        width: 80px;
    }

    .search-list-table th:nth-child(4),
    .search-list-table td:nth-child(4) {
        width: 80px;
    }

    .search-list-table th:nth-child(5),
    .search-list-table td:nth-child(5) {
        width: 80px;
    }

    .search-list-table th:nth-child(6),
    .search-list-table td:nth-child(6) {
        width: 170px;
    }

    .search-list-table th:nth-child(7),
    .search-list-table td:nth-child(7) {
        width: 130px;
    }

    .search-list-table th:nth-child(8),
    .search-list-table td:nth-child(8) {
        width: 140px;
    }
}
