/*

Theme Name: CEEHydroSystems
Theme URI: https://ceehydrosystems.com/
Author: CEEHydroSystems
Author URI: https://ceehydrosystems.com/
Description: CEEHydroSystems Customized Theme.
Version: 1.0.0
Template: pro

*/


/* PAGINATION */
.custom-pagination {
    border-top-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
}

.custom-pagination .x-paginate-inner {
    justify-content: flex-start;
    margin-right: calc(9px * -1);
    margin-bottom: calc(9px * -1);
}

.custom-pagination .x-paginate-inner > .next,
.custom-pagination .x-paginate-inner > .prev {
    color: #0a2540;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    background-color: #e3f0fc;
    box-shadow: none;
}

.custom-pagination .x-paginate-inner > * {
    min-width: 3em;
    min-height: 3em;
    margin-right: 9px;
    margin-bottom: 9px;
    border-top-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
    padding-top: 0.8em;
    padding-right: 1em;
    padding-bottom: 0.8em;
    padding-left: 1em;
    font-family: "Manrope", Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: #0a2540;
    background-color: #e3f0fc;
    box-shadow: none;
}

.custom-pagination .x-paginate-inner > .current {
    color: #ffffff;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    background-color: #2958a0;
    box-shadow: none;
}

.custom-pagination .x-paginate-inner > .dots {
    color: #0a2540;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none;
}

.custom-pagination .x-paginate-inner > .next:hover,
.custom-pagination .x-paginate-inner > .prev:hover {
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    box-shadow: 0px 0px 0px 3px #e3f0fc;
}

.custom-pagination .x-paginate-inner > a:hover {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
    box-shadow: 0px 0px 0px 3px #e3f0fc;
}


/* MISC LAYOUT */
.x-row-inner .x-col:last-child {
    border-bottom-width: 0px !important;
}

#case-histories .x-row-inner .x-col:last-child {
    border-bottom-width: 2px !important;
}

.x-slider-container.below {
    border: none;
}

.filter.element-is-sticky {
    border-bottom: 1px solid #dfdfdf !important;
}


/* FACETWP */
.facetwp-facet {
    margin-bottom: 0px !important;
}

.facetwp-counter {
    display: none !important;
}

.facetwp-facet .fs-wrap {
    width: 100%;
}

.facetwp-type-fselect .fs-dropdown .fs-options {
    max-height: 400px;
}

.facetwp-facet input.facetwp-search,
.facetwp-facet input.facetwp-location,
.facetwp-input-wrap {
    width: 100%;
}

.facetwp-type-fselect .fs-wrap.single .fs-option.selected {
    font-weight: bold;
}

.facetwp-icon:before {
    width: 40px !important;
    background-position: 10px 50% !important;
}

.facetwp-type-search i.clear {
    position: absolute;
    right: 35px;
    line-height: 1;
    cursor: pointer;
    display: inline-block;
    opacity: 0.3;
    width: 24px;
    height: 100%;
    background: transparent url('../../plugins/facetwp/assets/images/icon-close.png') 50% 50% no-repeat;
    background-size: 14px 14px;
}

.facetwp-type-search i.clear:hover {
    opacity: 0.8;
}

/* no clear icon while the Search facet is loading or auto-refreshing */
.facetwp-type-search .f-loading + input + i.clear,
.facetwp-type-search .loading + i.clear {
    display: none !important;
}

.facetwp-facet input.facetwp-search {
    padding-right: 56px !important;
    display: inline-block !important;
}

.facetwp-facet input,
.fs-label-wrap {
    min-width: 0px;
    max-width: none;
    height: 3em;
    min-height: 0px;
    max-height: none;
    background-color: #FFF;
    margin: 0px;
    padding: 0em 0.65em !important;
    border: 1px solid #DDD;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    display: flex;
    align-items: center;
}

.fs-open > .fs-label-wrap {
    box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.25);
}

.fs-dropdown {
    border-top: 1px solid #ddd !important;
}

.fs-dropdown .facetwp-facet input {
    height: 2em !important;
}

.fs-option,
.fs-no-results {
    padding: 12px 8px !important;
}

@media (max-width: 768px) {
    .entry-content {
        padding-left: 0px !important;
    }
}


/* STICKY OFFSETS — matched to the slim bar (56 / 52 / 48px) */
.element-is-sticky {
    top: 72px !important;
}

@media (max-width: 1200px) {
    .element-is-sticky {
        top: 72px !important;
    }
}

@media (max-width: 980px) {
    .element-is-sticky {
        top: 68px !important;
    }
}

@media (max-width: 768px) {
    .element-is-sticky {
        top: 68px !important;
    }
}

@media (max-width: 480px) {
    .element-is-sticky {
        top: 64px !important;
    }
}