.team-listting {
    padding: 20px 0 50px 0;
}

.team-listting--link {
    position: relative;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    margin-top: 30px;
    transition: all 0.3s ease-in-out;
    z-index: 1;
    box-shadow: none;
    background: transparent !important;
}

.team-listting-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 2 / 2;
    clip-path: polygon(0 0, 91% 0, 100% 11%, 100% 100%, 9% 100%, 0 90%);
}

.team-listting-hover-btn {
	display: none;
}

.team-listting-content {
	text-align: center;
	padding: 17px 0 0;
}

.team-listting-content h3 {
    font-size: 22px;
    color: #004B86;
    padding: 0;
    font-weight: 700;
}

.team-listting-content p {
    color: #585F65;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
}

.team-listting-hover-btn button {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0;
    background: #F17503;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding: 10px 44px 10px 30px;
    border: none;
    clip-path: polygon(8% 0%, 100% 1%, 100% 100%, 0% 100%);
}

.team-listting-hover-btn button:after {
    content: '\e903';
    position: absolute;
    font-family: 'icomoon';
    color: #004B86;
    right: 24px;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 11px;
}

@media(min-width: 1200px) {
	.team-listting--link {
		margin-top: 50px;
	}

	.team-listting-hover-btn {
		position: absolute;
		bottom: -110%;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(88, 95, 101, 0.59);
		display: flex;
		align-items: center;
		justify-content: center;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease-in-out;
	}

	.team-listting-hover-btn .btn {
		opacity: 0;
		transition: all 0.5s ease-in-out;
	}

	.team-listting--link:hover .team-listting-hover-btn .btn {
		opacity: 1;
	}

	.team-listting--link:hover .team-listting-hover-btn {
		bottom: 0;
		opacity: 1;
		visibility: visible;
		
	}

	.team-listting {
		padding: 50px 0 100px;
	}
}


.team-listting-image img {
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
	height: 100%;
	object-position: top;
}

.team-modal {
    width: 100%;
    height: 100vh;
    position: fixed;
    background: transparent;
    z-index: 999999;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 16px;
    overflow: auto;
    max-width: 1363px;
    display: none;
}

.team-modal-dialog {
    width: 100%;
    max-width: 1323px;
    margin: 0 auto;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    border-radius: 0;
    padding: 50px 20px 30px;
    box-shadow: none;
    text-align: center;
}

.team-modal-dismiss {
    color: #6C899E;
    font-size: 16px;
    display: inline-block;
    position: absolute;
    top: 16px;
    cursor: pointer;
    right: 16px;
    transition: all .4s ease-in-out;
}

.team-modal-dismiss:hover {
    color: #F6862A;
}

.modal-content-image {
    width: 100%;
    margin: 0 auto 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 2;
    max-width: 307px;
}

.modal-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-infomation h2 {
    padding: 0;
    margin: 0px 0 3px;
    color: #2A2625;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.3em;
    display: inline-block;
}

.modal-content-infomation h5 {
    display: block;
    font-size: 17px;
    color: #2A2625;
    margin: 0 0 18px;
    padding: 0 0;
    text-transform: uppercase;
    font-weight: 600;
}

.team-contact-feed {
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 6px;
    padding-left: 8px;
}

.team-contact-feed a {
    display: inline-block;
    margin: 0 5px;
}

.modal-content-infomation {
    padding-top: 16px;
}

.modal-content-scrollable-infomation {
    width: 100%;
    float: left;
}

.modal-content-scrollable-infomation p {
    color: #2E3532;
    margin: 0;
    padding-bottom: 20px;
}

.modal-content-scrollable-infomation p:last-child {
    padding: 0;
}

.team-modal .fancybox-close-small {
    display: none;
}

.team-modal-content-left .btn-secondary {
    clip-path: polygon(0 0, 94% 0%, 100% 40%, 100% 100%, 6% 100%, 0 67%);
    margin-top: 30px;
    padding: 17px 37px 17px 22px;
}

.team-modal-content-left .btn-secondary::after {
    content: '\e903';
    color: #004B86;
    right: 16px;
}

.modal-content-infomation h3 {
    font-size: 20px;
    color: #1B78C1;
    text-transform: uppercase;
    padding-bottom: 0;
    line-height: 1em;
    letter-spacing: 0.1em;
}

.modal-content-infomation h2 {
    font-size: 28px;
    padding-bottom: 12px;
    color: #004B86;
    margin: 0;
}

.modal-content-infomation p {
    color: #585F65;
}

.team-modal-content-left {
    margin-bottom: 20px;
}

@media (min-width: 1200px) {
    .team-modal-content {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-start;
    }

    .team-modal-dismiss {
        top: 18px;
        right: 16px;
        color: #6C899E;
    }

    .team-modal-dialog {
        padding: 70px 95px 70px 113px;
        z-index: 99;
        text-align: left;
    }

    .modal-content-infomation h2 {
        font-size: 55px;
    }

    .modal-content-infomation h3 {
        font-size: 25px;
    }

    .team-contact-feed {
        text-align: left;
    }

    .modal-content-scrollable-infomation::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 10px;
        background-color: #F5F5F5;
    }

    .team-modal-content-left {
        width: 342px;
        margin-bottom: 0;
        text-align: center;
    }

    .team-modal-content-left .btn-secondary {
        margin-top: 45px;
        padding: 17px 60px 17px 38px;
    }

    .team-modal-content-left .btn-secondary::after {
        right: 40px;
    }

    .team-modal-content-right {
        width: calc(100% - 342px);
        text-align: left;
        padding-right: 40px;
    }

    .modal-content-scrollable-infomation::-webkit-scrollbar {
        width: 10px;
        background-color: #F5F5F5;
    }

    .modal-content-scrollable-infomation::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #001C43;
    }

    .modal-content-scrollable-infomation p:last-child {
        padding-bottom: 0;
    }

    .team-modal-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100%;
        align-items: center;
    }
    
    .fancybox-slide--html .fancybox-close-small {
        right: 420px;
        top: 115px;
        color: #6C899E;
        background: transparent;
        padding: 0;
    }

    .team-modal-content {
        position: relative;
        z-index: 9;
    }

    .fancybox-is-open .fancybox-bg {
        background: rgba(88,95,101,0.78);
        opacity: 1;
    }
}

.featured-button__hover {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 0 15px 44px 15px;
    z-index: 1;
}

.featured-button__title{
    font-size: 25px;
    color: #fff;
    padding: 15px 0 14px 0;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.28em;
}
.featured-button__tag {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.featured-button__tag li{
    padding: 0 10px 0 0;
    margin: 3px 0 0 0;
    font-size: 14px;
    color: #F3F3F5;
    line-height: 1.2em;
    font-weight: 400;
    padding: 0 9px 0 10px;

}
.featured-button__tag li::after{
    content: unset;
  
}
.featured-button__tag li::before{
    content: '/';
    position: absolute;
    right: 0;
    top: 0;
    background: transparent;
}

.featured-button__tag li:first-child{
    padding-left: 0;
}
.featured-button__tag li:first-child:before{
    content: '';
}
.featured-button__tag li{
    padding: 0 2px 0 5px;
    margin: 0 0 0 0;
}

.post-type-archive-project-gallery .team-listting-hover-btn ,
.tax-project-category .team-listting-hover-btn,
.post-type-archive-alc-project-gallery .team-listting-hover-btn ,
.tax-alc-project-category .team-listting-hover-btn{
    display: block;
}

@media(min-width:1025px) {
    .post-type-archive-project-gallery .team-listting-hover-btn ,
    .tax-project-category .team-listting-hover-btn,
    .post-type-archive-alc-project-gallery .team-listting-hover-btn ,
    .tax-alc-project-category .team-listting-hover-btn{
        opacity: 0;
    }

    .post-type-archive-project-gallery .featured-button__hover,
    .tax-project-category .featured-button__hover ,
    .post-type-archive-alc-project-gallery .featured-button__hover,
    .tax-alc-project-category .featured-button__hover {
        padding-bottom: 20px;
        transition: all 0.4s ease-in-out;
    }
    .post-type-archive-project-gallery .team-listting--link:hover .team-listting-hover-btn ,
    .tax-project-category .team-listting--link:hover .team-listting-hover-btn,
    .post-type-archive-alc-project-gallery .team-listting--link:hover .team-listting-hover-btn ,
    .tax-alc-project-category .team-listting--link:hover .team-listting-hover-btn{
       opacity: 1;
    }
    .post-type-archive-project-gallery .team-listting--link:hover .featured-button__hover ,
    .tax-project-category .team-listting--link:hover .featured-button__hover,
    .post-type-archive-alc-project-gallery .team-listting--link:hover .featured-button__hover ,
    .tax-alc-project-category .team-listting--link:hover .featured-button__hover{
       padding-bottom: 44px;
    }
    
}

.post-type-archive-project-gallery .team-listting-hover-btn ,
.tax-project-category .team-listting-hover-btn,
.post-type-archive-alc-project-gallery .team-listting-hover-btn ,
.tax-alc-project-category .team-listting-hover-btn{
    background: none !important;
}
  
.load-more{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.project-gallery-listing__pagination,
.alc-project-gallery-listing__pagination{
    margin-top: 50px;
}

.team-listting + .section-padding {
    padding-top: 0;
}

.project-gallery-listing__pagination .load-more,
.project-gallery-listing__pagination .load-more:hover {
    border: 0;
    background: transparent;
}

.load-more__btn::after{
    content: unset;
}
.load-more__btn {
    padding: 17px 38px 17px 38px;
    background-color: #585F65;
}
.js-load-more-btn.is-disabled {
    display: none;
}
.filter-project{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-project .choices{
    width: 100%;
}

.filter-project .choices {
    width: 100%;
    height: 50px;
    background-color: #F3F3F5;
   
}
.choices__item {
    word-break: break-word;
}
.filter-project .choices .choices__inner{
    width: 100%;
    min-height: 50px;
    height: auto;
    background-color: #F3F3F5;
    border : 0 ;
    display: flex;
    align-items: center;
}
.choices[data-type*="select-one"]::after{
    border-left: 0;
}
.filter-project .choices.is-open::after{
    transform: translate(0, 50%);
    rotate: 180deg;
}
@media(min-width: 768px) {
    .filter-project .choices {
        width: 320px;
    }
}

.tax-project-category .team-listting-hover-btn ,
.post-type-archive-project-gallery .team-listting-hover-btn ,
.post-type-archive-alc-project-gallery .team-listting-hover-btn,
.tax-alc-project-category .team-listting-hover-btn{
    background: transparent !important;
}

.post-type-archive-project-gallery  .featured-button__tag li:last-child ,
.tax-project-category .featured-button__tag li:last-child,
.post-type-archive-alc-project-gallery  .featured-button__tag li:last-child ,
.tax-alc-project-category .featured-button__tag li:last-child{
    margin-bottom: 0;
}
.post-type-archive-project-gallery .featured-button__title ,
.tax-project-category .featured-button__title ,
.post-type-archive-alc-project-gallery .featured-button__title ,
.tax-alc-project-category .featured-button__title{
    padding-top: 5px;
}
.post-type-archive .team-listting-image:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #363636;
    opacity: 0.5;
}

.btn-close{
    position: absolute;
    top: 10px;
    right: 10px;
    background: #F17503;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;

}
.btn-close > svg path {
    fill: #fff;
}
.btn-close > svg {
    width: 20px;
    height: 20px;
    z-index: 1;
}
.btn-close:hover{
    background: #AE5402;
}