/* ====================== SEARCH-HEADER.CSS ====================== */

#globalNavigation {
    position: relative;
    text-align: left;
    height: 32px;
}

#searchTrigger {
    position: absolute !important;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    cursor: pointer;
    padding: 6px;
    border-radius: 16px;
    font-family: Calibri, Arial, Liberation Sans;
}

#searchTrigger:hover {
    opacity: 0.7;
    background-color: #ffffff;
}

#searchTrigger svg {
    display: block;
    margin: 0 auto;
    width: 22px;
    height: 22px;
    stroke: #000;
    stroke-width: 2.5;
}

#searchTrigger .searchLabel {
    display: block;
    font-family: Calibri, Arial, Liberation Sans;
    font-size: 12px;
    color: #000;
    line-height: 1;
}

#headerSearch table,
#headerSearch th,
#headerSearch td {
    border: 0px solid #CBDADE !important;
}

#headerSearch a {
    margin-left: 0px !important;
}

/* Popup container */
#headerSearch {
    position: absolute;
    right: 0px;
    top: 100%;
    width: 420px;
    max-width: 96vw;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#headerSearch.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

/* Google CSE box styling */
#headerSearch .gsc-control-cse {
    background: #fff !important;
    padding: 16px !important;
    overflow: hidden !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Google CSE box styling */
#headerSearch .gsc-input-box {
    padding-top: 0px !important;
}

/* remove Google spacing */
#headerSearch form.gsc-search-box,
#headerSearch table.gsc-search-box {
    margin: 0 !important;
    width: 100% !important;
}

/* input wrapper */

/* search button */
#headerSearch button.gsc-search-button {
    height: 44px !important;
    width: 44px !important;
    background: #012DAD !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
}

#headerSearch button.gsc-search-button svg {
    fill: white !important;
}

/* results */
#headerSearch .gsc-results {
    margin-top: 12px !important;
    max-height: 70vh;
    overflow-y: auto;
}

/* result title */
#headerSearch .gs-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #012DAD !important;
}

/* snippet */
#headerSearch .gs-snippet {
    font-size: 14px !important;
    color: #444 !important;
}

/* each result block */
#headerSearch .gsc-webResult {
    padding: 10px 0 !important;
    border-bottom: 1px solid #eee !important;
}

#gsc-iw-id1,
/* input wrapper */
#gsc-iw-id1~.gsc-results-wrapper-overlay {
    width: 100% !important;
    max-width: 100% !important;
}

.gsc-results-wrapper-overlay {
    top: 50px;
    left: 0 !important;
    right: 0 !important;
    width: 1280px !important;
    border-radius: 6px !important;
    z-index: 999999 !important;
}

.gsc-wrapper {
    max-width: unset !important;
}

.gsc-control-cse {
    padding: 0px !important;
    border: 0px solid #CBDADE !important;

}

