.directorist-single-wrapper .directorist-card:last-child {
    margin-bottom: 0;
}
body .section-padding-strict {
    padding: 4.5rem 0;
}

input[type="checkbox"] {
    border: 1px solid #dbdaf7;
    background: white;
}

/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

/* Header */
body .menu-area {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background: transparent !important;
}
body .menu-area .top-menu-area .logo-top {
    padding: 0;
    align-items: start;
}
body .top-menu-area .menu-fullwidth .logo-wrapper {
    position: static;
    transform: none;
    width: 140px !important;
    margin-right: 0 !important;
}
body .menu-area .top-menu-area .logo-top a img {
    padding-bottom: 0;
}

.menu-container {
    text-align: center;
    color: #fff;
}
#direo-navbar-collapse {
    display: block !important;
    font-size: 20px;
}
#direo-navbar-collapse b {
    display: block;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.2;
}

.top-menu-area .menu-fullwidth .menu-right {
    width: 140px;
}

.theme-modal-bottom {
    display: none;
}

/* Home */
.home .search-form {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 25px 30px 25px 25px;
    background: white;
    border-radius: 6px;
}
.home .search-form label {
    flex: 1;
    margin: 0;
}
body #algolia-search-box input,
.home .search-form .search-field {
    width: 100%;
    height: 47px;
    padding: 15px 20px;
    border: 1px solid #dbdaf7;
    background: white;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 6px;

    &:focus {
        border-color: #a5a4b4;
        outline: none;
    }
}
.home .search-form .search-submit {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 47px;
    min-height: auto;
    padding: 0 20px;
    border: 0 none;
    margin-left: 15px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 400;
    line-height: 1.75;
    border-radius: 6px;
    border-radius: 4px;
}

/* Instant search */
.search .ais-wrapper {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
}
.algolia-search-box-wrapper {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
}
.search #algolia-search-box {
    margin-top: 20px;
    margin-bottom: 70px;
}

/* Instant search : filters */
.ais-main-filters-content {
    background: #fff;
    border: 1px solid #ebecef;
    border-radius: 5px;
    padding: 15px;
}
.ais-main-filters-content h3 {
    margin-bottom: 10px;
}

.ais-SearchBox {
    position: relative;
    margin-bottom: 10px;
}
.ais-SearchBox input {
    width: 100%;
    padding: 5px 12px;
    border: 1px solid #dbdaf7;
    background: white;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 6px;
}
.ais-SearchBox-submit {
    display: none;
}
.ais-SearchBox-reset {
    position: absolute;
    right: 0;
    background: none;
    height: 100%;
    width: 30px;
    border: none;
}

.ais-CurrentRefinements ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.ais-CurrentRefinements-label {
    font-weight: bold;
    margin-right: 5px;
}
.ais-CurrentRefinements-category {
    display: inline-block;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 5px 10px;
    background: #f4f5f7;
    border-radius: 5px;
    color: #858cad;
}
.ais-CurrentRefinements-delete {
    margin-left: 5px;
    color: #858cad;
    cursor: pointer;
    border: none;
    background: transparent;
}
.ais-CurrentRefinements-delete:hover {
    color: #0056b3;
}

.ais-RefinementList {
    margin-bottom: 20px;
    overflow: hidden;
}
.ais-RefinementList-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ais-RefinementList-label {
    position: relative;
    width: 100%;
    white-space: nowrap;
}
.ais-RefinementList-checkbox {
    vertical-align: top;
    position: relative;
    top: 5px;
}
.ais-RefinementList-labelText {
    display: inline-block;
    margin-left: 5px;
    padding-right: 20px;
    white-space: initial;
}
.ais-RefinementList-count {
    position: absolute;
    right: 0;
    color: #858cad;
    background: #f4f5f7;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    text-align: center;
    line-height: 20px;
    font-size: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.ais-RefinementList-showMore {
    float: right;
    border: none;
    background: none;
    text-decoration: underline;
    color: #7a82a6;
}
.ais-RefinementList-showMore:hover {
    color: #0056b3;
}

.algolia-clear-all {
    clear: both;
}
.ais-ClearRefinements-button {
    width: 100%;
}

/* Listing : Hits */
#algolia-hits:empty {
    position: relative;
    height: 160px;

    &::after {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        width: 50px;
        padding: 8px;
        aspect-ratio: 1;
        border-radius: 50%;
        background: var(--color-secondary);
        --gradient: 
        conic-gradient(#0000 10%,#000),
        linear-gradient(#000 0 0) content-box;
        -webkit-mask: var(--gradient);
                mask: var(--gradient);
        -webkit-mask-composite: source-out;
                mask-composite: subtract;
        animation: loader 1s infinite linear;
  
        content: ' ';
    }
    @keyframes loader {to{transform: rotate(1turn)}}
}
.ais-Hits-item {
    background: #fff;
    border: 1px solid #ebecef;
    border-radius: 5px;
    padding: 20px;
}
.ais-Hits-item:not(:last-child) {
    margin-bottom: 10px;
}
.ais-Hits-item article {
    display: flex;
    align-items: center;
}

.ais-hits--thumbnail {
    width: 80px;
    min-width: 80px;
    margin-right: 20px;
    text-align: center;
}
.ais-hits--thumbnail-link {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 5px;
}
.ais-hits--thumbnail-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ais-hits--thumbnail p {
    margin: 0;
    font-size: 12px;
    line-height: 1;
    font-weight: bold;
    margin-top: 5px;
}

.ais-hits--title-link {
    display: block;
    margin-bottom: 10px;
    color: #272b41;
}

.ais-hits--content p {
    margin: 0;
}
.ais-hits--content ul {
    display: inline;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ais-hits--content ul li {
    display: inline-block;
    margin: 0 2px 5px 0;
}
.ais-hits--content ul li a {
    display: inline-block;
    padding: 0 0.66667rem;
    border: 1px solid #EBECEF;
    border-color: #e3e6ef;
    color: #5d658c;
    border-radius: 3px;
    transition: all 0.2s ease;
}
.ais-hits--content ul li a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Listing : Pagination */
#algolia-pagination {
    margin-top: 50px;
    margin-bottom: 50px;
}
.ais-Pagination-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ais-Pagination-link {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
}

/* Author */
.author .breadcrumb-wrapper .authorHeader {
    display: flex;
    align-items: center;
}
.author .breadcrumb-wrapper .authorHeader .page-title {
    text-align: left;
}
.author .breadcrumb-wrapper .authorHeader-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
    overflow: hidden;
}
.author .breadcrumb-wrapper .authorHeader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author .breadcrumb-wrapper .authorHeader-text {
    color: white;
}
.author .breadcrumb-wrapper .authorHeader-text h1+p {
    margin-top: 5px;
}
.author .breadcrumb-wrapper .authorHeader-text p {
    margin: 0;
}

.author .directorist-single-contents-area.directorist-w-100 {
    margin-top: 0;
}
.author .directorist-card__body h3:not(:first-child) {
    margin: 20px 0 5px 0;
}
.atbdp-widget-tags {
    margin-top: 15px;
}
.atbdp-widget-tags ul {
    list-style: none;
    padding: 0;
}

.widget_institut img {
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px !important;
    margin-bottom: 0;
    display: block;
    max-width: calc(100% - 30px);
}
.widget_institut a {
    display: inline-block;
    margin-top: 5px;
    text-decoration: underline !important; 
    color: #7a82a6 !important;
}
.widget_institut a:hover {
    color: var(--color-primary) !important;
}

/* Footer */
.footer-logos {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-logos li {
    margin: 0 10px;
}
.footer-bottom #menu-helpful-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.footer-bottom #menu-helpful-links li:not(:last-child)::after {
    border-radius: 50%;
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 4px;
    height: 4px;
    background: #e3e6ef;
    margin: 0 10px;
}