/*Overrides*/
html .hh-module button {
    overflow: clip;
}
html .hh-module button, html .hh-module input, html .hh-module optgroup, html .hh-module select, html .hh-module textarea {
    --tw-text-opacity: 1;
    color: rgb(var(--color-theme-button) / var(--tw-text-opacity));
}
html .hh-module a:not(:where(.panel-title, .pagination) a) {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
    --tw-gradient-from: rgb(var(--color-theme-accent) / 1) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(var(--color-theme-accent) / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    --tw-gradient-to: rgb(var(--color-theme-accent) / 1) var(--tw-gradient-to-position);
    background-size: 100% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .3s;
    
    &:hover {
        background-size: 0% 1px;
        text-decoration: none;
        color: rgb(var(--color-theme-on-primary) / 1);
    }
}
html .hh-directory .select-container:after {
    content: "";
}

.filterButtons .row {
    position: relative;
    top: 5px;
}

html .hh-module .panel-footer {
    --tw-bg-opacity: 1;
    background-color: rgb(238 246 253 / var(--tw-bg-opacity));
}

html .hh-module .panel-default {
    --tw-border-opacity: .25;
    border-color: rgb(187 221 246 / var(--tw-border-opacity));
}

@media (min-width: 768px) {
    html .wysiwyg .text-h3 {
        font-size: 5.3rem;
    }
}

html .hh-module .wysiwyg .text-h3 {
    font-family: gt-flexa-compressed, sans-serif;
    font-size: 3.75rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: .8;
}

@media (max-width: 1200px) and (min-width: 992px) {
    .col-xs-6:has(button#applyFilters):nth-of-type(1) {
        margin-inline-start: -7px;
    }
    .col-xs-6:has(button#clearFilters):nth-of-type(2) {
        margin-inline-start: 7px;
    }
}
a#back-to-directory {
    background-image: none;
}

html .hh-module .panel {
    box-shadow: none;
}

html .hh-module .panel-footer {
    border-top: none;
}
/*End overrides*/

.hh-directory.section {
    padding: 30px 0;
}

.hh-directory .input {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    background-color: #fff;
    border-radius: 0px;
    border: 2px solid #e8eaed;
}

.hh-directory .container>.row,
.hh-directory-block>.row {
    margin-bottom: 25px;
}

.hh-directory div[class^="col-"]> :last-child {
    margin-bottom: 0px;
}

.hh-directory .dirItems {
    padding-right: 15px;
}

.hh-directory .dirItem[class^="col-"],
.hh-directory .row.dirSearchControls>[class^="col-"] {
    padding-bottom: 15px;
}

.hh-directory .dirItem {
    display: none;
}

.hh-directory .dirItem.filter-match {
    display: block;
}

.hh-directory .dirItem .panel .panel-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.hh-directory .dirItem .panel .panel-title>a {
    color: rgb(var(--color-theme-on-primary) / 1);
}

.hh-directory .dirItem .panel .panel-title>a:hover,
.hh-directory .dirItem .panel .panel-title>a:focus {
    color: #325675;
}

.hh-directory .dirItem .panel {
    border-radius: 0px;
    word-break: break-word;
}

.hh-directory .dirItem .panel.panel-classic .panel-body {
    padding: 15px;
}

.hh-directory .dirItem .panel .panel-body .email {
    word-break: break-all;
}

.hh-directory .text-muted {
    color: #595959;
}

.hh-directory .dirItem.bgImage .panel-body {
    padding: 0px;
}

.hh-directory .panel-body > .row {
    padding-right: 0;
}

.hh-directory .dirItem.bgImage .panel-body .panel-title {
    margin: 15px 0;
}

.hh-directory .dirItem.blockImage .panel-tiles .panel-body .panel-title {
    margin-top: 15px;
}

.hh-directory .dirItem.bgImage .panel-body .panel-text {
    margin-bottom: 15px;
}

.hh-directory .dirItem.bgImage .panel-body .panel-image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hh-directory .dirItem .panel-body .panel-image .img-responsive {
    display: inline-block;
}

.hh-directory .dirItem.bgImage .panel-body .row {
    margin-right: 0px;
    margin-left: 0px;
    height: 100%;
}

.hh-directory .form-control {
    border-radius: 0px;
}

.hh-directory select,
.hh-directory select.form-control {
    border-radius: 0px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.hh-directory .select-container {
    display: inline-block;
    position: relative;
    width: 100%;
}

.hh-directory .select-container:after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 6px;
    right: 10px;
    z-index: 5;
    font-weight: 900;
    pointer-events: none;
}

.hh-directory .pagination {
    justify-content: center;
}

.hh-directory .back-to-dir {
    text-align: center;
}

.hh-directory.autocomplete-suggestions {
    text-align: left;
    cursor: default;
    border: 1px solid #ccc;
    border-top: 0;
    background: #fff;
    box-shadow: -1px 1px 3px rgba(0, 0, 0, .1);
    /* core styles should not be changed */
    position: absolute;
    display: none;
    z-index: 9999;
    max-height: 254px;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.hh-directory .autocomplete-suggestion {
    position: relative;
    padding: 0 .6em;
    line-height: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.02em;
    color: #333;
}

.hh-directory .autocomplete-suggestion b {
    font-weight: normal;
    color: #1f8dd6;
}

.hh-directory .autocomplete-suggestion.selected {
    background: #f0f0f0;
}

.hh-directory h1.border-bottom {
    line-height: 35px;
}

.hh-directory.hh-profile .tags {
    padding: .75rem 1.25rem;
    background-color: #f5f5f5;
    margin-top: 20px;
}

.hh-directory #pagination {
    text-align: center;
}

.hh-directory .pagination {
    margin-top: 10px;
}

.hh-directory .pagination>.disabled>a,
.hh-directory .pagination>.disabled>a:focus,
.hh-directory .pagination>.disabled>a:hover,
.hh-directory .pagination>.disabled>span,
.hh-directory .pagination>.disabled>span:focus,
.hh-directory .pagination>.disabled>span:hover {
    color: #595959;
}

.hh-directory .pagination>.active>a,
.hh-directory .pagination>.active>a:focus,
.hh-directory .pagination>.active>a:hover,
.hh-directory .pagination>.active>span,
.hh-directory .pagination>.active>span:focus,
.hh-directory .pagination>.active>span:hover {
    background-color: rgb(var(--color-theme-on-primary) / 1);
    border-color: rgb(var(--color-theme-on-primary) / 1);
    color: #fff;
}

.hh-directory .pagination>li>a,
.hh-directory .pagination>li>span {
    color: rgb(var(--color-theme-on-primary) / 1);
}

.hh-directory .pagination>li.cap {
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    border: 1px solid #ddd;
}

.hh-directory .filterButtons,
.hh-directory .row {
    padding-right: 15px;
}

.filterButtons .row .col-xs-6 {
    padding-right: 0;
}

.hh-directory .filterButtons button {
    height: 34px;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media only screen and (min-width:768px) {
    .hh-directory .dirItem[class^="col-"],
    .hh-directory .row.dirSearchControls>[class^="col-"] {
        padding-right: 0px;
    }
}

@media only screen and (min-width:992px) {
    .hh-directory .dirItem.bgImage .left-image .panel-body .panel-image,
    .hh-directory .dirItem.bgImage .right-image .panel-body .panel-image {
        min-height: 150px;
    }
}

@media only screen and (max-width:991px) {
    .hh-directory .dirItem.bgImage .panel-body .panel-image {
        min-height: 175px;
    }
}

@media only screen and (max-width:767px) {
    .hh-directory .dirItem.bgImage .panel-body .panel-image {
        min-height: 225px;
    }

    .hh-directory .dirItem .left-image .panel-body .panel-title {
        margin-top: 15px;
    }

    .hh-directory .dirItem .right-image .panel-body .panel-text {
        margin-bottom: 15px;
    }

    .hh-directory.hh-profile .col-md-8.sidebar-right {
        bottom: 30px;
    }

    .hh-directory .dirItem .panel-classic .panel-body .panel-title {
        margin-top: 0;
    }
}