.na-team-header {
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
}

.na-team-header li a {
    padding: 0.3rem 1rem;
    border-radius: 2px;
}

.na-team-header li a:hover {
    background: #9f9f9f1f;
    color: inherit
}

.na-team-header li {
    flex: 0 auto;
    text-align: center;
}

ul.na-team {
    padding-left: 0 !important;
    margin: 10px -5px;
    display: flex;
    flex-wrap: wrap;
}

.na-team li.na-slide>.team-inner {
    margin: 0 1rem;
}

.na-team>li>.team-inner>a.team-image,
.na-team li.na-slide>.team-inner>a.team-image {
    overflow: hidden;
    display: block;
    background-size: contain;
    position: relative;
    padding-top: 350px;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all ease .4s;
    background-size: cover;
}

.na-team>li.hidden {
    display: none !important;
}

ul.na-team:after {
    content: "";
    display: table;
    clear: both;
}

.na-team-active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.83);
    z-index: 9998;
}

.na-team>li>.team-inner,
.na-team li.na-slide>.team-inner {
    position: relative;
}

.na-team>li>.team-inner.no-content a {
    cursor: default;
}

.na-team>li>.team-inner:not(.no-content):hover:after {
    color: rgba(25, 39, 55, 0.3);
}

.na-team>li>.team-inner:after {
    content: "\f00e";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: "Font Awesome\ 5 Free";
    font-weight: 900;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 10px;
    font-size: 20px;
    color: rgba(25, 39, 55, 0.01);
    transition: all ease 0.3s;
}

.na-team>li a:hover {
    text-decoration: none;
}

.na-team>li>.team-inner {
    transition: all ease .3s;
    background: #fbfbfb;
    padding-bottom: 5px;
}

.na-team>li:hover>.team-inner:not(.no-content) {
    transform: translateY(-2px);
    box-shadow: 0px 1px 10px #eee;
}

.na-team>li {
    width: 20%;
    display: block;
    margin: 0%;
    padding: 15px;
}

.na-team.na-team-columns-4 li {
    width: 25%;
    padding: 5px;
}

.na-team.na-team-columns-6 li {
    width: 16.66%;
    padding: 5px;
}

.na-team.na-team-columns-7 li {
    width: 14.28%;
    padding: 2px;
}

.na-team>li:first-child {
    -margin-left: 0;
}

.na-team>li:last-child {
    -margin-right: 0;
}

.na-team>li .team-content,
.na-team li.na-slide .team-content {
    font-size: 1rem;
    display: none;
}

.na-team>li .team-position {
    font-size: 1rem;
}

.na-team>li .team-header {
    width: 100%;
    padding: 10px 0px;
    text-align: center;
}

.na-team>li .team-header .team-title,
.na-team li.na-slide .team-header .team-title {
    font-size: 1.1rem;
    display: block;
}


.na-team>li>.team-inner>a.team-image>span.image,
.na-team li.na-slide>.team-inner>a.team-image>span.image {
    min-height: 350px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-size: cover;
    background-position: top center;
}

.na-team li.na-slide>.team-inner>a.team-image:hover {
    color: inherit;
}

.na-team>li .team-header h3:after {
    display: none !important;
}

.na-team>li .team-header>span,
.na-team li.na-slide .team-header>span {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
}

body.na-team-overlay:before {
    content: "";
    background-color: rgba(255, 255, 255, 0.98);
    height: 100%;
    width: 100%;
    position: absolute;
    position: fixed;
    top: 0;
    left: 0;
    transition: background-color ease 0.4s;
    z-index: 9998;
}

#na-team-member-template>div.team-member-tpl {
    position: relative;
    height: 100%;
    overflow: auto;
    display: block;
}

#na-team-member-template>div.team-member-tpl>div {
    /* position: absolute;
    max-height: 80%;
    top: 10%;
    width: 100%; */
    overflow: auto;
    /*background: rgba(0, 0, 0, 0.12);*/
    padding: 15px 0;
}

#na-team-member-template {
    display: inline-block;
    height: auto;
    width: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 80%;
    overflow: auto;
    position: fixed;
    z-index: 9999;
    background: #fbfbfb;
}

#na-team-member-template * {
    color: #333;
}

#na-team-member-template .team-image-tpl {
    max-width: 100%;
}

#na-team-member-template .entry-content {
    padding-left: 20px;
    font-size: 13px;
    font-weight: 300;
    line-height: 18px;
    padding-bottom: 25px;
    background: transparent;
    text-align: left;
    margin-top: 5px;
    min-height: 400px;
}

#na-team-member-template .team-position-tpl {
    padding-left: 0;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
    font-weight: bold;
}

#na-team-member-template .entry-content ul {
    padding-left: 0;
}

#na-team-member-template .entry-content h2 {
    margin-top: 0;
    padding-top: 10px;
}

#na-team-member-template .close-team {
    position: absolute;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICAgICAgICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwIj4KICAgICAgICAgICAgICAgICAgICA8cG9seWxpbmUgaWQ9IlN0cm9rZS0zIiBzdHJva2U9IiNGRkZGRkYiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBwb2ludHM9IjcgMjUgMTYuMjc5MzM0IDE2IDcgNyI+PC9wb2x5bGluZT4KICAgICAgICAgICAgICAgICAgICA8cG9seWxpbmUgaWQ9IlN0cm9rZS0zLUNvcHkiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIzIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIwLjYzOTY2NywgMTYuMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0yMC42Mzk2NjcsIC0xNi4wMDAwMDApICIgcG9pbnRzPSIxNiAyNSAyNS4yNzkzMzQgMTYgMTYgNyI+PC9wb2x5bGluZT4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvc3ZnPg==);
    background-repeat: no-repeat;
    z-index: 9999;
    position: absolute;
    position: fixed;
    top: 9px;
    right: 11px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #2e3191;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    background-size: 16px 16px;
    padding: 15px;
    display: block;
    line-height: 16px;
    text-align: center;
    background-position: center center;
}

#na-team-member-template .entry-content ul li {
    line-height: 18px;
    margin-bottom: 8px;
    list-style: inside;
}

.team-social-tpl {
    margin-top: -25px;
    font-size: 14px;
    color: #676767 !important;
    line-height: 20px;
}

.team-social-tpl i {
    font-size: 20px;
    line-height: 20px;
}

.team-social-tpl a {
    color: #fff;
}

ul.na-team.na-team-columns-3 li {
    width: 33%;
}

ul.na-team.na-team-columns-2 li {
    width: 33%;
}

@media all and (max-width: 1024px) {
    .na-team>li {
        width: 24%;
    }

    .na-team>li .team-header {
        min-height: 90px;
    }
}

@media all and (max-width: 768px) {
    footer .widget {
        float: none;
    }

    .na-team>li {
        width: 32%;
    }
}

@media all and (max-width: 600px) {
    .na-team>li {
        width: 49%;
    }
}