body {
    position: relative;
}

/* Fix for mobile menu visibility with d-table on home */
@media (max-width: 991px) {
    #home.d-table {
        display: block !important;
    }
}

.list-inline > li {
    padding-left: 0px;
    padding-right: 0px;
}

.dropdown .fs-5 {
    font-size: 2rem !important;
}

.footer .container .mt-3 {
    margin-top:2.5rem !important;
}


.bg-half-170 .d-table .w-100 .bg-light {
    padding: 100px;
}

.text-align-foot {
    text-align: justify;
}

.work-email input[type="email"] {
    position: fixed;
    top: -9999px;
    left: -9999px;
}


.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    opacity: 1 !important;
    text-align: center;
    font-weight: bold;
    z-index: 1100;
}

.alert-icon {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 1150 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}
.alert h4 {
    margin-top: 0;
    color: inherit;
}
.alert .alert-link {
    font-weight: bold;
}
.alert > p,
.alert > ul {
    margin-bottom: 0;
}
.alert > p + p {
    margin-top: 5px;
}
.alert-dismissable,
.alert-dismissible {
    padding-right: 35px;
}
.alert-dismissable .close,
.alert-dismissible .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
}
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.alert-success hr {
    border-top-color: #c9e2b3;
}
.alert-success .alert-link {
    color: #2b542c;
}
.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}
.alert-info hr {
    border-top-color: #a6e1ec;
}
.alert-info .alert-link {
    color: #245269;
}
.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}
.alert-warning hr {
    border-top-color: #f7e1b5;
}
.alert-warning .alert-link {
    color: #66512c;
}
.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert-danger hr {
    border-top-color: #e4b9c0;
}
.alert-danger .alert-link {
    color: #843534;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 0.2;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: 0.5;
}
button.close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


@media (min-width: 768px) {
    .nav-justified > li {
        display: table-cell;
        width: 100%;
    }
}

.pagination li span,
.pagination li a {
    height: 100%;
}

.pagination > li > a, .pagination > li > span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-share-items li a {
    cursor: pointer;
}

.align-items-top {
    align-items: flex-start !important;
}

/* Home Carousel Styles */
#home {
    position: relative;
    overflow: hidden;
}

#home-carousel {
    background-color: #2f55d4;
    height: 380px;
}

#home-carousel .owl-stage-outer,
#home-carousel .owl-stage {
    height: 380px;
}

#home-carousel .item {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#home-carousel .item .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(53, 64, 78, .45);
    z-index: 1;
}

#home-carousel .title-heading {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    margin-bottom: 30px;
}

@media (max-width: 767.98px) {
    #home-carousel {
        height: auto !important;
    }
    #home-carousel .owl-stage-outer,
    #home-carousel .owl-stage {
        height: auto !important;
    }
    #home-carousel .item {
        height: auto !important;
        min-height: 350px;
        padding: 40px 0;
    }
    #home-carousel .title-heading .heading {
        font-size: 20px;
        line-height: 1.3;
    }
    #home-carousel .title-heading .para-desc {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    #home-carousel .title-heading .heading {
        font-size: 18px;
        line-height: 1.3;
    }
    #home-carousel .title-heading .para-desc {
        font-size: 12px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #home-carousel .title-heading .heading {
        font-size: 32px;
    }
    #home-carousel .title-heading .para-desc {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    #home-carousel .title-heading .heading {
        font-size: 42px;
    }
    #home-carousel .title-heading .para-desc {
        font-size: 18px;
    }
    #home-carousel .title-heading .btn {
        margin-top: 10px;
        margin-bottom: 4px;
    }
    #home-carousel .item .shape {
        bottom: -2px;
    }
    #home-carousel .item .shape > svg {
        transform: scale(2);
        width: 100%;
        height: auto;
        transform-origin: top center;
    }
}

/* Prevent Owl Carousel from affecting other elements */
#home-carousel .owl-item img {
    width: auto !important;
    max-width: 100% !important;
}

/* Generic DataTable Styles - applies to all datatables */
.dataTables_wrapper {
    padding: 0;
}

.dataTables_wrapper .dataTables_length {
    float: left;
    margin-bottom: 1.5rem;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    margin-bottom: 1.5rem;
}

.dataTables_wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #5368f1;
    box-shadow: 0 0 0 0.2rem rgba(83, 104, 241, 0.25);
    outline: 0;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: #5368f1;
    box-shadow: 0 0 0 0.2rem rgba(83, 104, 241, 0.25);
    outline: 0;
}

.dataTable thead th {
    background-color: #f8f9fa !important;
    color: #35404e !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid #dee2e6 !important;
    padding: 0.25rem 0.5rem !important;
    position: relative !important;
}

/* Prevent Owl Carousel from hiding DataTable sorting icons */
.dataTable thead th::after,
.dataTable thead th::before {
    display: block !important;
    visibility: visible !important;
}

/* Ensure DataTables are not affected by Owl Carousel global resets */
.dataTables_wrapper::after,
.dataTables_wrapper::before {
    display: inherit !important;
    visibility: inherit !important;
}

.dataTable thead th.sorting_asc::after {
    content: "\f0de" !important;
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    display: block !important;
    font-family: 'FontAwesome' !important;
    font-size: 0.875rem !important;
    opacity: 0.7 !important;
    color: #5368f1 !important;
    visibility: visible !important;
}

.dataTable thead th.sorting_desc::after {
    content: "\f0dd" !important;
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    display: block !important;
    font-family: 'FontAwesome' !important;
    font-size: 0.875rem !important;
    opacity: 0.7 !important;
    color: #5368f1 !important;
    visibility: visible !important;
}

.dataTable thead th.sorting::after {
    content: "\f0dc" !important;
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    display: block !important;
    font-family: 'FontAwesome' !important;
    font-size: 0.875rem !important;
    opacity: 0.3 !important;
    color: #6c757d !important;
    visibility: visible !important;
}

.dataTable tbody td {
    padding: 0.25rem 0.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.dataTable tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.dataTable tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.dataTable tbody tr:nth-child(even):hover {
    background-color: #f0f1f2;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 1.5rem;
    float: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0;
    margin: 0 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.dataTables_wrapper .dataTables_paginate .paginate_button a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: inherit;
}

/* Apply primary color from color switcher to pagination text */
/* The color will be inherited from .text-primary class defined in color CSS files */
.dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(:hover),
.dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(:hover) a {
    color: inherit;
}

/* Hover and current states - text color */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover a,
.dataTables_wrapper .dataTables_paginate .paginate_button.current a {
    color: #fff;
}

/* Active pagination button (.current) - background-color is inherited from style switcher */
/* The background-color is set in color CSS files (blue.css, default.css, green.css, etc.) */
/* It's included in the .bg-primary selector group, so it automatically uses the theme's primary color */

/* Disabled pagination button - remove hover color and show not-allowed cursor */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover a {
    background-color: transparent !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 1.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.dataTables_wrapper .dataTables_processing {
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 1rem !important;
    box-shadow: none !important;
    position: absolute !important;
    z-index: 9999 !important;
    border: none !important;
}

/* Protect DataTable spinner from Owl Carousel CSS */
.dataTables_wrapper .spinner-border {
    display: inline-block !important;
    width: 2rem !important;
    height: 2rem !important;
    vertical-align: text-bottom !important;
    border: 0.25em solid currentColor !important;
    border-right-color: transparent !important;
    border-radius: 50% !important;
    animation: spinner-border 0.75s linear infinite !important;
    box-shadow: none !important;
    outline: none !important;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_length {
        margin-bottom: 1rem;
    }
    
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left;
        margin-top: 1rem;
    }
    
    .dataTables_wrapper .dataTables_length {
        float: none;
        margin-bottom: 1rem;
    }
    
    .dataTable thead th,
    .dataTable tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Hide class for pagination when no records */
.hide-dt-pagination {
    display: none !important;
}

/* Pagination disabled buttons styling */
.pagination .page-item.disabled span {
    display: block;
    padding: 12px 18px;
    margin-left: -1px;
    font-size: 14px;
    border: 1px solid #dee2e6;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .page-item.disabled span:hover {
    cursor: not-allowed;
}

.pagination .page-item.disabled:first-child span {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination .page-item.disabled:last-child span {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Mobile menu burger - ensure items stack vertically */
@media (max-width: 991px) {
    #topnav .navigation-menu {
        float: none !important;
        display: block !important;
    }
    
    #topnav .navigation-menu > li {
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        clear: both !important;
    }
    
    #topnav .navigation-menu > li > a {
        display: block !important;
        width: 100% !important;
        padding: 10px 20px !important;
    }
}

/* Footer links - add chevron icon before text only for footer-list */
.footer.footer .footer-list a::before {
    content: "\F0142"; 
    font-family: "Material Design Icons";
    font-size: inherit;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    color: inherit;
}

/* Breadcrumb separator fix - display inline with > separator */
.breadcrumb {
    display: inline-block !important;
}

.breadcrumb li {
    display: inline-block !important;
}

.breadcrumb li:not(:last-child):after {
    content: " > " !important;
    font-family: inherit !important;
    font-size: 16px !important;
    color: #35404e !important;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0 3px;
}

.footer.footer .footer-list {
    display: block;
    text-align: left;
}

.footer.footer a {
    color: #adb5bd;
}

.dataTables_wrapper .action-column .dropdown .dropdown-menu li a:hover{
    color: #FFF !important;
}

.dataTables_wrapper .action-column .dropdown .dropdown-menu{
    padding: 0;
}

.dataTables_wrapper .action-column .dropdown .dropdown-menu li:hover{
    border-radius: 5px;
}

.dataTables_wrapper .action-column .dropdown .dropdown-menu li{
    text-align: center;
    border: 1px solid #e9ecef;
}

#pills-tab li{
    padding: 10px 0 10px 0;
}

#pills-tab li a{
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#pills-tab li a{
    color: #495057;
    font-family: "Nunito Sans", sans-serif;
    line-height: 1.5;
    font-weight: 600;
}

#pills-tab li a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 24px;
    flex-shrink: 0;
}

#pills-tab li a > span:before,
#pills-tab li a > span:after {
    margin-right: 0;
    margin-left: 0;
}

#pills-tab li.active a{
    color: #fff;
}

#pills-tab li.active{
    border-radius: 5px;
}

.bootstrap-datetimepicker-widget td[data-action="selectDay"].day:hover,
.bootstrap-datetimepicker-widget td[data-action="selectMonth"].day:hover,
.bootstrap-datetimepicker-widget td[data-action="selectYear"].day:hover,
.bootstrap-datetimepicker-widget td[data-action="selectDecade"].day:hover,
.bootstrap-datetimepicker-widget .datepicker thead tr th[data-action="pickerSwitch"]:hover,
.bootstrap-datetimepicker-widget .datepicker thead tr th[data-action="previous"]:hover,
.bootstrap-datetimepicker-widget .datepicker thead tr th[data-action="next"]:hover,
.bootstrap-datetimepicker-widget span.uil-focus-target:hover,
.bootstrap-datetimepicker-widget span.uil-trash-alt:hover,
.bootstrap-datetimepicker-widget span.uil-x:hover,
.bootstrap-datetimepicker-widget span[data-action="selectMonth"].month:hover,
.bootstrap-datetimepicker-widget span[data-action="selectYear"].year:hover,
.bootstrap-datetimepicker-widget span[data-action="selectDecade"].decade:hover,
.kv-file-rotate:hover i,
.kv-file-download:hover i,
.kv-file-remove:hover i
{
    color: #fff !important;
}

/* Row Separator - Horizontal Line */
.row.separator {
    border-top: 2px solid #dee2e6;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0;
}

.col-label-modal {
    display: flex;
    justify-content: flex-start;
}

/* Fix z-index for FileInput delete confirmation modal when inside another modal */
.modal.show ~ .kv-dialog-container,
.modal.show ~ .bootstrap-dialog,
.modal.show ~ #application-dialog {
    z-index: 1055 !important;
}

.modal.show ~ .kv-dialog-container .modal,
.modal.show ~ .bootstrap-dialog .modal,
.modal.show ~ #application-dialog .modal {
    z-index: 1056 !important;
}

.modal.show ~ .kv-dialog-container .modal-backdrop,
.modal.show ~ .bootstrap-dialog .modal-backdrop,
.modal.show ~ #application-dialog .modal-backdrop {
    z-index: 1054 !important;
}

/* Alternative: Target Kartik Dialog when modal is open */
body.modal-open .kv-dialog-container,
body.modal-open .bootstrap-dialog,
body.modal-open #application-dialog {
    z-index: 1055 !important;
}

body.modal-open .kv-dialog-container .modal,
body.modal-open .bootstrap-dialog .modal,
body.modal-open #application-dialog .modal {
    z-index: 1056 !important;
}

body.modal-open .kv-dialog-container .modal-backdrop,
body.modal-open .bootstrap-dialog .modal-backdrop,
body.modal-open #application-dialog .modal-backdrop {
    z-index: 1054 !important;
}

/* Cookie bar sticky to bottom */
.cookiebar-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

/* Cookie bar buttons styling */
.cookiebar-sticky #okcookies {
    margin-right: 10px;
}

.cookiebar-sticky .cookiebar-details-link {
    text-decoration: none;
    display: inline-block;
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-radius: 6px !important;
}

.dt-scroll-x {
    width: 100% !important;
    overflow-x: auto !important;
    max-width: 100% !important;
}

/* Ensure DataTable wrapper maintains full width */
.dataTables_wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

/* Prevent Owl Carousel from shrinking DataTable */
.card.domain-name,
.card.domain-name .card-body,
.card.domain-name .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
}

table.dataTable {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

.dataTables_scrollBody {
    width: 100% !important;
    max-width: 100% !important;
}

.dataTables_scroll {
    width: 100% !important;
    max-width: 100% !important;
}

.dataTables_wrapper .action-column .dropdown .dropdown-menu li a{
    display: flex;
    justify-content: center;
    padding: 5px;
}

.dataTables_wrapper .action-column .dropdown .dropdown-menu li a span{
    display: flex;
    align-items: center;
    margin-right: 3px;
}

/* Bid form - inline label and field */
.bid-form-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up,
.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    border: 1px solid;
}

.form-group.field-bidform-bid {
    margin-top: 1rem;
}

.select2-container--krajee-bs3 .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}
.select2-container--krajee-bs3 .select2-selection--single {
    height: 41px !important;
    line-height: 2.3 !important;
}

/* Invoice action buttons group */
.invoice-action-buttons {
    display: inline-flex;
    gap: 5px;
}

.invoice-action-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.invoice-action-buttons .btn .action-icon {
    display: inline-flex;
    align-items: center;
}

.hint-block {
    color: inherit !important;
    text-align: left;
    font-size: 14px;
}

.help-block-error {
    text-align: left;
}

/* Domain action button styles */
.domain-action-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.domain-action-button {
    width: 50%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ActionColumn filter button styles - center in the middle */
.filters-row {
    display: table-row;
}

.filter-column {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 0.25rem 0.5rem !important;
}

.filter-column button {
    width: 50%;
    height: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.filter-column button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ActionColumn cells in tbody - center buttons in same row */
.action-column {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.action-column > div {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.action-column .btn {
    width: 50%;
    height: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.action-column .btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.dataTable thead th.sorting::after,
.dataTable thead th.sorting_asc::after,
.dataTable thead th.sorting_desc::after {
    top: 8px !important;
    bottom: auto !important;
}

.bg-home {
    height: 80vh !important;
}

#companyform-county {
    border-radius: 5px !important;
}

.bg-half-170 {
    padding: 70px !important;
}

footer.footer {
    padding: 15px 0 0 0 !important;
}

td.bid-input {
    vertical-align: middle;
    white-space: nowrap;
}

td.bid-input .bid-input-control {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

td.bid-input > *:not(.bid-input-control) {
    display: inline-block;
    vertical-align: middle;
}

.bid-input-control {
    width: 76px;
    height: 48px;
    display: inline-block;
}

/* Bid input view styling */
#bid-input-view .input-group-prepend {
    border-radius: 0;
}

#bid-input-view .input-group-prepend .input-group-text {
    border: 0;
    border-radius: 0.25rem 0 0 0.25rem;
    padding: 0.375rem 0.75rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ced4da;
}

#bid-input-view .bid-input-control {
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
}

#bid-input-view .input-group-append {
    border-radius: 0;
    display: flex;
    align-items: stretch;
}

#bid-input-view .input-group-append .btn {
    border: 0;
    border-radius: 0 0.25rem 0.25rem 0;
    padding: 0.375rem 0.75rem;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

#bid-input-view .input-group {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

#bid-input-view .input-group:focus-within {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#bid-input-view .input-group-prepend .input-group-text {
    background-color: #e9ecef;
}

#bid-input-view .bid-input-control:focus {
    border-color: #80bdff;
    box-shadow: none;
    z-index: 3;
}

.color-label-danger {
    color: #c51724;
}

.color-label-success {
    color: #37BD1AFF;
}

.color-label-warning {
    color: #f1bb15;
}


.bid-label-flex {
    display: flex;
    align-items: center;
}

.bid-label-info {
    color: inherit;
}

.bid-label-danger {
    color: #c51724;
}

.bid-label-danger:before {
    content: "\f063";
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.bid-label-success {
    color: #37BD1AFF;
}

.bid-label-success:before {
    content: "\f091";
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}


.form-control {
    height: 38px !important;
}

/* Match Typeahead input styling to Select2 */
.typeahead__container .typeahead__field input,
.typeahead__container .typeahead__field input.form-control,
.form-icon.position-relative .typeahead__container .typeahead__field input,
.form-icon.position-relative .typeahead__container .typeahead__field input.form-control {
    height: 38px !important;
    line-height: 24px !important;
    padding: 0 1em !important;
    border: 1px solid #d7e4ed !important;
    border-radius: 5px !important;
    font-size: 13px !important;
    box-shadow: #fff !important;
    background-color: #fff !important;
    color: inherit !important;
    font-family: inherit !important;

}

.form-icon.position-relative .typeahead__container .typeahead__field input:focus,
.form-icon.position-relative .typeahead__container .typeahead__field input.form-control:focus {
    border-color: #ef6e63 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Style Typeahead dropdown items */
.typeahead__list {
    border-radius: 5px !important;
}

.typeahead__item.typeahead__group-results {
    color: #5368f1 !important;
}

.typeahead__item.typeahead__group-results a,
.typeahead__item.typeahead__group-results .typeahead__display {
    color: #35404e !important;
}

.typeahead__item.typeahead__group-results:hover,
.typeahead__item.typeahead__group-results:hover a,
.typeahead__item.typeahead__group-results:hover .typeahead__display {
    background-color: #5368f1 !important;
    color: #fff !important;
}

.s2-input-group .input-group-btn {
    width: auto;
}

@media (max-width: 990px) {
    span.label.label-block.bid-label-flex
    {
        display: contents;
    }
}

.align-items-center-domain-page {
    display: flex;
}

/* Force visibility of critical columns (domain and bid) on reduced width devices */
@media (max-width: 992px) {
    /* Force column 1 (full_name/domain) and column 7 (action/bid) to always be visible */
    #dt-domains_wrapper table.dataTable tbody td:nth-child(1),
    #dt-domains_wrapper table.dataTable thead th:nth-child(1),
    #dt-domains_wrapper table.dataTable tbody td:nth-child(7),
    #dt-domains_wrapper table.dataTable thead th:nth-child(7) {
        display: table-cell !important;
        visibility: visible !important;
    }
    
    /* Prevent DataTables responsive from hiding these columns */
    #dt-domains_wrapper table.dataTable.dtr-inline.collapsed tbody td:nth-child(1),
    #dt-domains_wrapper table.dataTable.dtr-inline.collapsed tbody td:nth-child(7),
    #dt-domains_wrapper table.dataTable.dtr-column.collapsed tbody td:nth-child(1),
    #dt-domains_wrapper table.dataTable.dtr-column.collapsed tbody td:nth-child(7) {
        display: table-cell !important;
    }
}

@media (max-width: 468px) {
    /* Change padding from p-4 to p-2 for card-body on mobile */
    .card-body.p-4.p-md-3.bg-white {
        padding: 0.5rem !important;
    }
}

.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline,
.has-success.radio label,
.has-success.checkbox label,
.has-success.radio-inline label,
.has-success.checkbox-inline label {
    color: inherit; }

.has-success .help-block,
.has-success .control-label {
    color: #8ace56; }
.has-success .form-control {
    box-shadow: none;
    border-color: #8ace56; }
.has-success .form-control:focus {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #8ace56;
    border-color: #8ace56; }
.has-success .input-group-addon {
    border-color: #8ace56; }
.has-success .select2-selection,
.has-success .select2-container--open .select2-selection,
.has-success .select2-container--krajee.select2-container--focus .select2-selection {
    border-color: #8ace56 !important; }

.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline,
.has-warning.radio label,
.has-warning.checkbox label,
.has-warning.radio-inline label,
.has-warning.checkbox-inline label {
    color: inherit; }

.has-warning .help-block,
.has-warning .control-label {
    color: #f1bb15; }
.has-warning .form-control {
    box-shadow: none;
    border-color: #f1bb15; }
.has-warning .form-control:focus {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f1bb15;
    border-color: #f1bb15; }
.has-warning .input-group-addon {
    border-color: #f1bb15; }
.has-warning .select2-selection,
.has-warning .select2-container--open .select2-selection,
.has-warning .select2-container--krajee.select2-container--focus .select2-selection {
    border-color: #f1bb15 !important; }

.help-block:empty {
    margin: 0; }

.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
    color: inherit; }

.has-error .help-block,
.has-error .control-label {
    color: #f55060; }
.has-error .form-control {
    box-shadow: none;
    border-color: #f55060; }
.has-error .form-control:focus {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f55060;
    border-color: #f55060; }
.has-error .input-group-addon {
    border-color: #f55060; }
.has-error .radio > span:before,
.has-error .checkbox > span:before {
    border-color: #f55060; }
.has-error .select2-selection,
.has-error .select2-container--open .select2-selection,
.has-error .select2-container--krajee.select2-container--focus .select2-selection {
    border-color: #f55060 !important; }

.error-summary {
    margin-bottom: 1em; }
.error-summary:not(.alert) {
    padding: 1em;
    background-color: #f55060;
    color: #ffffff; }
.error-summary ul {
    padding: 0;
    margin: 0;
    list-style: none; }

.hidden {
    display: none;
}

.bid-label-success {
    color: rgb(111, 218, 99) !important;
}


.domain-action-wrapper a.is-disabled {
    opacity: .6;
    cursor: not-allowed;
}

textarea.form-control.textarea-resizable {
    resize: vertical !important;
    min-height: 7.5em;
}

.custom-dt-button {
    margin-bottom: 15px;
    text-align: right;
}

.custom-dt-button a {
    font-size: 18px !important;
    min-width: 170px !important;
}

@media (max-width: 768px) {
    .custom-dt-button {
        display: none !important;
    }
}
