.template-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto auto auto auto;
    grid-template-columns: auto auto auto auto;
}
.publications-tamplate {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto auto auto;
    grid-template-columns: auto auto auto;
}

    .template-content .content-item img {
        max-width: 271px;
        width: 100%;
        border-radius: 16px;
        height: 246px;
        object-fit: cover;
    }
    .publications-tamplate .content-item img {
        height: 350px;
        object-fit: contain;
        background: #fff;
    }

    .template-content .content-item {
        max-width: 292px;
        margin-bottom: 24px;
    }

    .template-content .rounded {
        border-radius: 50px;
        height: 300px;
        max-width: 292px;
        margin-bottom: 24px;
    }

.template-section {
    position: relative;
    padding-bottom: 67px;
}

.background {
    position: absolute;
    bottom: 0;
    max-width: 1643px;
    z-index: -1;
    width: 100%;
}

.tablist button {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #606B81;
    margin-right: 24px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    transition: 0s;
}

    .tablist button span {
        transition: 0s;
    }

.tablist {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

button[aria-selected="true"] {
    color: #2B303A !important;
    font-weight: 600;
}

.tablist button > span:nth-child(1) {
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

button[aria-selected="true"] > span:nth-child(1) {
    border-bottom: 2px solid #FAA63E;
}

.count {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #CFD4CE;
    margin-left: 8px;
    font-size: 14px;
    display: block;
    line-height: 2.2;
    text-align: center;
}

.tab-heading {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 34px;
    padding-left: 24px;
    margin-bottom: 20px;
}

.filter-form {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

    .filter-form label, .filter > span {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        color: #2B303A;
        margin-right: 16px;
        display: block;
    }

    .filter-form select {
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        height: 56px;
        border: 1px solid #FAA63E;
        border-radius: 200px;
        padding: 0 36px 0 16px;
        background: #fff;
    }

.select {
    position: relative;
}

    .select img {
        position: absolute;
        top: 26px;
        right: 18px;
    }

.filter {
    margin-bottom: 16px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.projects-heading h2 {
    text-transform: uppercase;
}

.mob-block {
    display: none;
}

.back {
    transform: rotate(180deg);
    margin-right: 20px;
    margin-top: 125px;
    cursor: pointer;
}

.inner-title {
    font-weight: 600;
    font-size: 26px;
    line-height: 40px;
    color: #2B303A;
    margin: 32px 0;
}

.gallery-top {
    height: 499px;
    width: 100%;
    border-radius: 16px;
}

.gallery-thumbs .swiper-slide {
    width: 188px !important;
    height: 181px;
    border-radius: 16px;
}

.gallery-thumbs {
    margin-top: 20px;
    position: relative;
}

    .gallery-thumbs:after {
        content: '';
        display: block;
        width: 500px;
        height: 100%;
        background: linear-gradient(270deg, #F5F5F1 0%, rgba(255, 255, 255, 0) 100%);
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
    }

.swiper-slide {
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 16px;
    background-position: center;
}

.inner-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.inner-info {
    width: 92%;
    margin-top: 36px;
}
.inner-info p img {
    margin-left: 56px;
}

.inner-slider {
    margin-bottom: 32px;
}

.inner-txt {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #2B303A;
    margin-bottom: 24px;
}

.file {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 16px;
    line-height: 24px;
    color: #2B303A;
    padding: 16px 0;
    border-bottom: 1px solid #A0A99D;
    max-width: 720px;
}

    .file img {
        margin-right: 11px;
    }

.files {
    margin-bottom: 56px;
}

.inner-share {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 36px;
}

    .inner-share span {
        font-weight: 400;
        line-height: 32px;
        color: #2B303A;
        margin-right: 20px;
    }

    .inner-share img {
        margin-right: 24px;
    }

.line {
    width: 100%;
    border-bottom: 1px solid #BAC1B8;
    margin-bottom: 32px;
    border-top: 0;
}

.mb {
    margin-bottom: 42px;
}

.template-slider {
    display: none;
}

.mob-back {
    display: none;
}

.color {
    color: #15AF7F;
    border-color: #15AF7F !important;
}

.color-c {
    color: #FAA63E;
    border-color: #FAA63E !important;
}

.projects .template-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto auto auto;
    grid-template-columns: auto auto auto;
}

    .projects .template-content .content-item {
        max-width: 376px;
    }

        .projects .template-content .content-item img {
            max-width: 100%;
        }

.projects .tablist {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 49%;
}

    .projects .tablist button {
        margin-bottom: 24px;
    }

        .projects .tablist button:last-child {
            margin-bottom: 0;
        }

.projects .tab-heading {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.mini-title {
    font-size: 24px;
    line-height: 40px;
    color: #2B303A;
    margin-bottom: 24px;
}

.team {
    background: #fff;
    padding: 40px 0;
}

.team-info {
    max-width: 364px;
}

.team-item > img {
    width: 208px;
    height: 208px;
    border-radius: 50%;
    margin-right: 32px;
    object-fit: cover;
}

.team-item {
    margin-bottom: 80px;
}

    .team-item .paragraph {
        margin: 16px 0;
    }

.team-content, .team-item {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto auto;
    grid-template-columns: auto auto;
}

.team-content-main h2 {
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 72px;
    color: #2B303A;
}

.mb14 {
    margin-bottom: 14px;
}

.single-item {
    margin-top: 4px;
    padding-left: 39px;
}

.team-contact > div {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

    .team-contact > div img {
        margin-right: 12px;
    }

.b-link {
    color: #2B303A;
    font-weight: bold;
}

header {
    background: #fff;
}

.projects-heading h2 {
    position: relative;
}

    .projects-heading h2:before {
        content: '';
        width: 0;
        height: 0;
        border-bottom: solid 7px #F5F5F1;
        border-left: solid 0 transparent;
        border-right: solid 7px transparent;
        position: absolute;
        bottom: -7px;
        left: 0;
    }

.template-section .select {
    width: max-content !important;
    min-width: 180px;
}

.template-section .selectBtn {
    padding-right: 33px !important;
}

    .template-section .selectBtn:after {
        top: 26px;
        width: 4px;
        height: 4px;
        border-right: 2px solid #2B303A;
        border-bottom: 2px solid #2B303A;
    }
    
    .pub-inner .slider-container {
        display: none;
    }
    .pub-inner .tabs .content-item img {
        height: 350px;
        object-fit: contain;
        background: #fff;
    }
    
    
 .filters-content {
     display: -webkit-box;
     display: -webkit-flex;
     display: -moz-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-align: center;
     -webkit-align-items: center;
     -moz-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     -webkit-box-pack: end;
     -webkit-justify-content: flex-end;
     -moz-box-pack: end;
     -ms-flex-pack: end;
     justify-content: flex-end;
 }   
 .filters-content .filter {
     margin-right: 24px !important;
 }   
@media (max-width: 1700px) {
    .background {
        max-width: 98%;
    }

    .template-section {
        padding-bottom: 67px;
    }

    .mb {
        margin-bottom: 40px;
    }

    .inner-share {
        margin-bottom: 30px;
    }
}

@media (max-width: 1450px) {
    .inner-title {
        font-size: 22px;
        margin: 18px 0 24px;
    }

    .inner-info {
        width: 91%;
    }
    .content-item {
        width: 95%;
    }
}
@media (max-width: 1368px) {
    .publications-tamplate .content-item img {
        height: 330px;
    }
}

@media (max-width: 1240px) {
    .template-content {
        -ms-grid-columns: auto auto auto;
        grid-template-columns: auto auto auto;
    }

        .template-content .content-item, .template-content .content-item img {
            max-width: 100%;
            width: 100%;
        }

    .template-slider {
        display: block;
    }

        .template-slider .content-item {
            padding: 24px 0;
            width: 100%;
        }

    .hidden-mob {
        display: none;
    }
    .publications-tamplate .content-item img {
        height: 330px;
    }
    .pub-inner .tabs .content-item img {
        height: 330px;
    }
}

@media (max-width: 1073px) {
    .inner-info {
        width: 93%;
        margin-top: 20px;
    }

    .back {
        margin-top: 67px;
        max-width: 50px;
        cursor: pointer;
    }

    .team-content {
        -ms-grid-columns: auto;
        grid-template-columns: auto;
    }

    .team-item {
        max-width: 63%;
        margin-bottom: 24px;
    }
    .publications-tamplate .content-item img {
        height: 330px;
    }
    .filters-content .filter {
        margin-right: 16px !important;
    }
}

@media (max-width: 900px) {
    .inner-info {
        width: 91%;
    }
    .filters-content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: end;
        -webkit-align-items: flex-end;
        -moz-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }
}
@media (max-width: 780px) {
    .publications-tamplate .content-item img {
        height: 236px;
    }
}

@media (max-width: 767px) {
    .template-section .selectBtn:after {
        top: 18px;
    }

    .filter {
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -moz-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .template-content {
        -ms-grid-columns: auto auto;
        grid-template-columns: auto auto;
    }

    .tab-heading {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -moz-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        margin-bottom: 22px;
        margin-top: 20px;
    }

        .tab-heading .projects-heading {
            margin-bottom: 26px;
        }

    .filter-form {
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -moz-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .inner-content, .tablist {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .inner-info {
        margin-top: 18px;
    }

    .inner-title {
        font-size: 20px;
    }

    .gallery-top {
        height: 286px;
    }

    .gallery-thumbs .swiper-slide {
        width: 87px !important;
        height: 87px;
    }

    .gallery-thumbs:after {
        display: none;
    }

    .inner-info {
        width: 100%;
    }

    .inner-share {
        margin-bottom: 32px;
    }

    .files {
        margin-bottom: 32px;
    }

    .content-item .heading {
        font-size: 18px;
    }

    .content-item .description {
        font-size: 14px;
    }

    .tablist button {
        font-size: 16px;
    }

        .tablist button:nth-child(1) {
            font-size: 16px;
            margin-bottom: 24px;
        }

    .tablist {
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -moz-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .inner-share img {
        margin-right: 8px;
    }

    .mob-back {
        display: block;
        margin-top: 18px;
        cursor: pointer;
    }

    .back {
        display: none;
    }

    .projects .tablist {
        width: 100%;
    }

    .tab-heading {
        padding-left: 0;
    }
    .publications-tamplate {
        -ms-grid-columns: auto auto;
        grid-template-columns: auto auto;
    }
    .publications-tamplate .content-item img {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .projects-heading h2 {
        border-bottom: 3px solid transparent;
    }

    .projects .template-content {
        -ms-grid-columns: auto auto;
        grid-template-columns: auto auto;
    }

    .team-item, .team-info {
        max-width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
    }

        .team-item > img {
            max-width: 200px;
            margin-right: 0;
            margin-bottom: 16px;
        }

    .team-content-main h2 {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .team {
        padding: 24px 0;
    }

    .team-item .paragraph {
        max-width: 100%;
    }

    .b-link {
        font-size: 14px;
    }
    
}

@media (max-width: 530px) {
    .template-content {
        -ms-grid-columns: auto;
        grid-template-columns: auto;
    }

        .template-content .content-item img {
            height: 220px;
            object-fit: cover;
        }

    .desk-block {
        display: none;
    }

    .mob-block {
        display: block;
    }

    .gallery-top {
        height: 220px;
    }

    .file span {
        white-space: nowrap;
        width: 70%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .publications-tamplate {
        -ms-grid-columns: auto;
        grid-template-columns: auto;
    }
    .publications-tamplate .content-item img {
        height: auto;
    }
    .pub-inner .tabs .content-item img {
        height: auto;
    }
}

@media (max-width: 450px) {
    .projects .template-content {
        -ms-grid-columns: auto;
        grid-template-columns: auto;
    }

        .projects .template-content .content-item {
            max-width: 100%;
        }
}
