.team-slider-outer{
position: relative;
}
.team-item{
cursor: pointer;
}
.team-img{
position: relative;
}
.team-img img{
width: 100%;
height: 28.2rem;
object-fit: cover;
border-radius: 1.6rem;
}
.team-info{
text-align: center;
}
.team-info p{
margin-top: 0;
font-size: 1.2rem;
line-height: 1.8rem;
}
.team-item:hover .team-info p,
.team-item:hover .team-info .h5 *{
color: var(--bg-color) !important;
}
.team-slider-outer .tns-controls{
position: absolute;
right: 0;
top: -14.3rem;
display: flex;
align-items: center;
border-radius: 10rem;
overflow: hidden;
background: var(--primary-color);
}
.team-slider-outer .tns-controls button{
outline: none;
background: transparent !important;
height: 9.3rem;
border: 0;
padding: 0;
min-width: 12.8rem;
display: flex;
flex-wrap: wrap;
align-items: center;
text-align: center;
font-size: 0;
position: relative;
}
.team-slider-outer .tns-controls button:after{
position: absolute;
content: "";
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: 0;
background-size: 5.7rem 3.3rem !important;
background-position: center !important;
background-repeat: no-repeat !important;
}
.team-slider-outer .tns-controls button[data-controls="next"]:after{
background: url(//laboratoria.invicta.pl/wp-content/themes/invicta/images/icon-arrow-white-right.png);
}
.team-slider-outer .tns-controls button[data-controls="prev"]:after{
background: url(//laboratoria.invicta.pl/wp-content/themes/invicta/images/icon-arrow-white-left.png);
}
.team-slider-outer .tns-controls button:disabled:after,
.team-slider-outer .tns-controls button[disabled]:after{
opacity: 0.2;
}
.team-more{
display: none;
}
body.show-popup{
overflow: hidden;
}
.team-popup-outer{
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999999;
background: rgba(0, 0, 0, 0.3);
padding: 2rem;
display: none;
align-items: center;
justify-content: center;
overflow: hidden;
overflow-y: auto;
}
body.show-popup .team-popup-outer{
display: flex;
}
.team-popup{
width: 100%;
max-width: 58.8rem;
padding: 1.6rem;
max-height: calc(100vh - 4rem);
overflow: hidden;
overflow-y: auto;
}
.team-popup-head .h5{
width: calc(100% - 3.2rem);
padding-right: 1.6rem;
}
#closepopup{
cursor: pointer;
height: 3.2rem;
width: 3.2rem;
display: flex;
align-items: center;
justify-content: center;
}
.team-popup-img img{
width: 28.2rem;
height: 28.2rem;
border-radius: 1.6rem;
object-fit: cover;
}
.team-popup-desc{
padding-right: 8rem;
}
.team-popup-desc p{
font-size: 1.2rem;
line-height: 1.8rem;
margin-top: 1.2rem;
}
.team-popup-desc p:first-child{
margin-top: 0;
}
@media(min-width:1200px) and (max-width:1259.98px){
.team-img img {
height: 25.898rem;
}
}
@media(min-width:992px) and (max-width:1199.98px){
.team-img img {
height: 28.333rem;
}
.team-slider-outer .tns-controls {
top: -11.9rem;
}
.team-slider-outer .tns-controls button {
height: 6.3rem;
min-width: 8.8rem;
}
.team-slider-outer .tns-controls button:after {
background-size: 3.7rem 2.3rem !important;
}
}
@media(min-width:768px) and (max-width:991.98px){
.team-img img {
height: 31.7rem; 
}
.team-slider-outer .tns-controls button {
height: 6.3rem;
min-width: 7.8rem;
}
.team-slider-outer .tns-controls {
top: -13.3rem;
}
.team-slider-outer .tns-controls button:after {
background-size: 3.7rem 2.3rem !important;
}
}
@media(max-width:767.98px){
.team-slider-outer .tns-controls{
display: none !important;
}
.team-slider-outer{
margin: 0 -1.6rem;
width: calc(100% + 3.2rem);
}
.team-img,.team-info{
margin-right: 2.4rem !important;
}
.team-popup-outer {
padding: 1.6rem;
}
.team-popup-desc {
padding-right: 4.9rem;
}
}