.rc-tfg {
    width: 100%;
}

.rc-tfg__intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 34px;
}

.rc-tfg__heading {
    margin: 0 0 14px;
}

.rc-tfg__subheading {
    margin: 0;
}

.rc-tfg__filters {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto 45px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.rc-tfg__select-wrap {
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
}

.rc-tfg__select,
.rc-tfg__reset {
    height: 43px !important;
    border-radius: 2px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

.rc-tfg__select {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
    padding: 0 42px 0 18px !important;
    border: 1px solid #42464d !important;
    background-color: #42464d !important;
    color: #fff !important;
}

.rc-tfg__reset {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    padding: 0 18px !important;
    border: 2px solid #42464d !important;
    background: transparent !important;
    color: #2e3237 !important;
    cursor: pointer !important;
}

.rc-tfg__status {
    text-align: center;
    margin: -24px 0 24px;
    font-size: 14px;
    opacity: .72;
}

.rc-tfg__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 36px 28px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rc-tfg__card {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.rc-tfg__card-button {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    cursor: pointer !important;
    color: inherit !important;
}

.rc-tfg__image-wrap {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #f1f1f1 !important;
}

.rc-tfg__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
	object-position:top !important;
    display: block !important;
    transition: transform .35s ease !important;
}

.rc-tfg__card-button:hover .rc-tfg__image {
    transform: scale(1.04) !important;
}

.rc-tfg__image-placeholder {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #f1f1f1, #d9ded9) !important;
}

.rc-tfg__name {
    display: block !important;
    margin-top: 14px !important;
    font-size: 25px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: var(--awb-custom_color_12, #2e3237) !important;
}

.rc-tfg__title {
    display: block !important;
    margin-top: 3px !important;
    margin-bottom: 8px !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    color: inherit !important;
}

.rc-tfg__office {
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
}

.rc-tfg__office img,
.rc-tfg__modal-location img {
    width: 14px !important;
    height: 20px !important;
    object-fit: contain !important;
    flex: 0 0 14px !important;
    margin-top: 2px !important;
}

.rc-tfg__no-results {
    text-align: center;
    padding: 40px 20px;
}

body.rc-tfg-modal-open {
    overflow: hidden;
}

.rc-tfg__modal[hidden] {
    display: none !important;
}

.rc-tfg__modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px !important;
	margin-top:120px;
}

.rc-tfg__modal-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, .68) !important;
}

.rc-tfg__modal-dialog {
    position: relative !important;
    z-index: 1 !important;
    width: min(1080px, 96vw) !important;
    max-height: 90vh !important;
    overflow: auto !important;
    background: #fff !important;
    border-radius: 4px !important;
    box-shadow: 0 18px 60px rgba(0,0,0,.28) !important;
}

.rc-tfg__modal-close {
    position: absolute !important;
    top: 12px !important;
    right: 15px !important;
    z-index: 3 !important;
    width: 40px !important;
    height: 40px !important;
    border: 0 !important;
    background: transparent !important;
    color: #222 !important;
    font-size: 34px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.rc-tfg__modal-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    min-height: 560px !important;
}

.rc-tfg__modal-info {
    padding: 44px 44px 42px !important;
}

.rc-tfg__modal-name {
    margin: 0 0 10px !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
}

.rc-tfg__modal-meta-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 14px !important;
    margin-bottom: 22px !important;
}

.rc-tfg__modal-title {
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

.rc-tfg__modal-location {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    font-size: 17px !important;
}

.rc-tfg__modal-credentials,
.rc-tfg__modal-tenure {
    margin-bottom: 16px !important;
    font-weight: 600 !important;
}

.rc-tfg__modal-bio {
    margin-bottom: 24px !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
}

.rc-tfg__modal-bio p:last-child {
    margin-bottom: 0 !important;
}

.rc-tfg__social-links .fusion-social-networks-wrapper {
    display: flex !important;
    gap: 14px !important;
}

.rc-tfg__social-links a {
    color: var(--awb-color1, #0ec45f) !important;
    font-size: 18px !important;
}

.rc-tfg__modal-image-wrap {
    min-height: 100% !important;
}

.rc-tfg__modal-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 560px !important;
    background-size: cover !important;
    background-position: top !important;
    background-repeat: no-repeat !important;
}

.rc-tfg__modal-image--empty {
    background: linear-gradient(135deg, #f1f1f1, #d9ded9) !important;
}

.rc-tfg.is-loading {
    opacity: .75;
    pointer-events: none;
}
.rc-tfg__filters {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 40px auto 60px !important;
    width: fit-content !important;
    max-width: 100% !important;
}

.rc-tfg__select-wrap {
    position: relative !important;
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
}

.rc-tfg__select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    height: 58px !important;
    min-width: 210px !important;
    width: auto !important;

    padding: 0 29px 0 28px !important;
    border: 2px solid #4B4E53 !important;
    border-radius: 4px !important;
    background-color: #4B4E53 !important;
    color: #ffffff !important;

    font-family: "Instrument Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
    text-transform: capitalize !important;

    cursor: pointer !important;
    box-shadow: none !important;
}
.rc-tfg__results{
	padding-top:10px !important;
}

.rc-tfg__select-wrap::after {
    content: "" !important;
    position: absolute !important;
    right: 25px !important;
    top: 50% !important;
    width: 12px !important;
    height: 12px !important;
    border-right: 2px solid #ffffff !important;
    border-bottom: 2px solid #ffffff !important;
    transform: translateY(-65%) rotate(45deg) !important;
    pointer-events: none !important;
}

.rc-tfg__reset {
    height: 58px !important;
    min-width: 150px !important;
    padding: 0 28px !important;

    border: 2px solid #4B4E53 !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #4B4E53 !important;

    font-family: "Instrument Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;

    cursor: pointer !important;
    box-shadow: none !important;
}

.rc-tfg__reset span {
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    position: relative !important;
    top: auto !important;
}

@media (max-width: 1100px) {
    .rc-tfg__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .rc-tfg__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .rc-tfg__modal-content {
        grid-template-columns: 1fr !important;
    }

    .rc-tfg__modal-image {
        min-height: 420px !important;
    }
}
@media (max-width: 767px) {
    .rc-tfg__filters {
        width: 100% !important;
        gap: 12px !important;
        margin: 30px auto 40px !important;
    }

    .rc-tfg__select-wrap,
    .rc-tfg__select,
    .rc-tfg__reset {
        width: 100% !important;
        min-width: 0 !important;
    }

    .rc-tfg__select,
    .rc-tfg__reset {
        height: 54px !important;
        font-size: 15px !important;
    }
}
@media (max-width: 767px) {
    .rc-tfg__filters {
        width: 100% !important;
        margin-bottom: 35px !important;
    }

    .rc-tfg__select-wrap,
    .rc-tfg__select,
    .rc-tfg__reset {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .rc-tfg__grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .rc-tfg__modal {
        padding: 16px !important;
    }

    .rc-tfg__modal-info {
        padding: 34px 24px 30px !important;
    }

    .rc-tfg__modal-name {
        font-size: 30px !important;
    }
}
