form#search {
    background: #002469;
    padding: 15px 15px 45px;
    position: relative;
}
#genesis-content {
    width: 100%;
}

form#search input,
form#search select {
    width: calc(33% - 30px);
    background: transparent;
    border-bottom: 2px solid #fff;
    border-top: none;
    border-left: none;
    border-right: none;
    color: transparent;
    margin: 15px;
}

form#search input.act,
form#search select.act {
    color: #fff;
}

form#search input {
    position: relative;
}

form#search select option {
    color: #000;
}

form#search select {
    position: relative;
    top: -4px;
}

form#search input::placeholder {
    color: #fff;
}

form#search button {
    float: right;
    margin: 30px 15px 0;
    background: #fff;
    color: #002469;
    position: relative;
    transition: 0s !important;
}
.dropbtn {
    background-color: #4caf50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover,
.dropbtn:focus {
    background-color: #3e8e41;
}

.dropdown {
    width: calc(33% - 30px);
    display: inline-block;
    position: relative;
    margin-right: 30px;
}

.dropdown input {
    width: 100% !important;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

form#search #myInput {
    width: 100%;
}

#myDropdown {
    width: 100%;
}

.results {
    display: none;
    position: absolute;
    background: #fff;
    width: 100%;
    left: 15px;
    top: 70px;
    max-height: 190px;
    overflow-y: auto;
    z-index: 1;
}

.results span {
    padding: 5px 15px;
}

.results span:hover {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.04);
}

p.st {
    margin: 30px 0 15px;
    float: left;
}

.search-item ul {
    display: inline-block;
    width: 49%;
    margin-bottom: 10px;
    padding-left: 0;
}

.search-item ul li {
    list-style-type: none;
}

.search-item {
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 15px;
}

.search-item p {
    margin-bottom: 0;
}

.search-item .ab-button.ab-button-shape-rounded {
    margin-top: 15px;
}

.search-results.with-borders .search-item {
    box-shadow: none;
    padding-left: 0;
    border-bottom: 1px solid #ccc;
}

.search-results h3 {
    margin-top: 30px;
    margin-bottom: 0;
}

.search-results.more-cards p.st {
    display: none;
}

.search-results.more-cards {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 10px;
}

.search-results.more-cards .search-item p {
    height: 90px;
    overflow: hidden;
}

.search-results.table td {
    padding: 10px !important;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    vertical-align: middle;
    word-wrap: break-word;
}

.search-results.table th {
    background: #cdebf8;
    padding: 10px 20px 10px 10px;
}

.learnmore-popup-content {
    width: 100%;
    max-width: 1080px;
    position: fixed;
    top: 20%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 3px 2px rgb(0 0 0 / 40%);
    padding: 30px;
    left: 0;
    right: 0;
    z-index: 999;
    text-align: left;
}

.learnmore-popup-content span {
    position: absolute;
    right: 10px;
    top: -7px;
    font-size: 30px;
    cursor: pointer;
}

.learnmore-popup-content ul li {
    list-style-type: none;
    width: 50%;
    display: inline-block;
}

.learnmore-popup-content ul {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
table .ab-button {
    background: #43b1f0;
}
table .ab-button:hover {
    color: #333;
}

.popup-overlay {
    width: 100%;
    position: fixed;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    display: none;
}

span.asc:after {
    content: " \25B2";
    cursor: pointer;
    font-size: 12px;
}

span.asc {
    position: absolute;
    right: 5px;
    top: 8px;
}

span.desc:after {
    content: " \25BC";
    cursor: pointer;
    font-size: 12px;
}

span.desc {
    position: absolute;
    right: 5px;
    bottom: 8px;
}

th.ui-sortable-th {
    position: relative;
}

th.last span {
    display: none;
}

a.exr {
    text-align: center;
    font-size: 18px;
    line-height: 1 !important;
    background-color: #002469;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    padding: 0.6em 1em;
    text-decoration: none;
    word-break: break-word;
    transition: 0.3s ease;
    display: inline-block;
    float: right;
    position: relative;
    top: 30px;
}

.ui-sortable-table.table.table-bordered.table-striped {
    table-layout: fixed;
}

#exp {
    display: none;
}

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.search-btn:before {
    animation: 1s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px #cfd0d1;
    border-bottom-color: #1c87c9;
    border-radius: 50%;
    content: "";
    height: 40px;
    position: absolute;
    top: 24px;
    left: 55px;
    transform: translate3d(-50%, -50%, 0);
    width: 40px;
    will-change: transform;
    display: none;
}

.search-btn.active:before {
    display: block;
}

.search-btn.active {
    color: transparent !important;
}

tr.pages {
    display: none;
}

tr.pages.display {
    display: table-row;
}
div.sa8000-navigation {
    text-align: center;
}

div.sa8000-navigation span {
    padding: 0 5px;
    cursor: pointer;
}

div.sa8000-navigation span.active {
    font-weight: bold;
}

nav {
    cursor: pointer;
}

.prev.hide,
.next.hide {
    display: none;
}

.next {
    position: absolute;
    right: 0;
    top: 0;
}

.prev {
    position: absolute;
    left: 0;
    top: 0;
}

.sa8000-navigation {
    position: relative;
    text-align: center;
    width: 100%;
    padding: 0 90px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.sa8000-navigation span.hide {
    display: none;
}

.sa8000-navigation span.hide.active {
    display: inline;
}

.search-btn2.clear {
    border: 2px solid #fff;
    color: #fff;
    position: absolute;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 9px 13px;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    width: auto;
    right: 150px;
    bottom: 49px;
    display: none;
}

.search-btn2.clear.actv {
    display: block;
}

.sa8000-navigation span.last.hide {
    display: inline;
}
.sa8000-navigation span.last:before {
    content: "... ";
}

.sa8000-navigation .last.hide.active:before {
    display: none;
}

.sa8000-navigation .last-page.lessTen:before {
    display: none;
}

.ui-sortable-th {
    line-height: 1.2;
}

.search-filter .row.filter-container label {
    color: #fff;
    position: absolute;
    margin-left: 25px;
    margin-top: 25px;
    transition: 0.3s;
}
.search-filter .row.filter-container label.active {
    font-size: 14px;
    margin-top: 0;
    transition: 0.3s;
}

.search-filter.active {
    opacity: 0.5;
}

.realtive {
    width: 33%;
    display: inline-block;
}

form#search .realtive input {
    width: calc(100% - 30px);
}

/* SA8000 Search Responsive */

@media (max-width: 760px) {
    form#search input,
    form#search select,
    .dropdown {
        width: calc(100% - 30px);
    }

    .realtive {
        width: 100%;
    }

    form#search button {
        float: none;
        width: calc(100% - 30px);
    }

    .search-results thead {
        display: none;
    }

    .search-results.table td {
        width: 100%;
        display: block;
        border: none;
        padding: 10px 0 !important;
    }

    .search-btn2.clear.actv {
        display: block;
        bottom: 0;
        margin-top: 15px;
        position: relative;
        width: calc(100% - 30px);
        right: 0;
        left: 15px;
    }

    tr.pages.display {
        display: block;
        border-bottom: 1px solid #000;
        padding: 20px 0;
    }

    tr.pages td:before {
        font-weight: bold;
    }

    tr.pages td.org:before {
        content: "Organization Name: ";
    }

    tr.pages td.cb:before {
        content: "Certification Body: ";
    }

    tr.pages td.certid:before {
        content: "Certificate ID: ";
    }

    tr.pages td.status:before {
        content: "Certification status: ";
    }

    tr.pages td.ind:before {
        content: "Industry: ";
    }

    .popup {
        top: 0;
        height: 100vh;
    }

    .popup ul li {
        list-style-type: none;
        width: 100%;
        display: inline-block;
    }
}

.relative {
    display: inline;
    position: relative;
}

.table-wrapper h3 {
    font-weight: 600;
    letter-spacing: 1px;
    color: #005969;
    text-align: center;
}

.table-wrapper {
    max-height: 400px;
    overflow: auto;
}

/*
    Export Popup Style
 */

.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.popup-content {
    background: #fff;
    padding: 40px 20px 20px;
    height: 90%;
    max-width: vw;
    overflow: auto;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    position: relative;
}

.close-popup-btn {
    position: absolute;
    top: 0px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #555;
}

.close-popup-btn:hover {
    color: #000;
}

.date-filter {
    margin-bottom: 30px;
}

#searchSpinner {
    display: none;
}

.date-filter button {
    position: relative;
}

.date-filter button img {
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    right: -55px;
}

.sa8000-date-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.sa8000-date-picker-wrapper label {
    white-space: nowrap;
    flex-shrink: 0;
}

.sa8000-date-picker-wrapper #date-picker {
    flex: 1;
    min-width: 0;
}
